|
@@ -98,7 +98,7 @@ function getLastFile(dirPath, number, callback) {
|
|
logger.error(`无法列出目录。`, err);
|
|
logger.error(`无法列出目录。`, err);
|
|
// process.exit(1);
|
|
// process.exit(1);
|
|
} else {
|
|
} else {
|
|
- logger.info(`--------02`)
|
|
|
|
|
|
+ logger.info(`--------02`,files)
|
|
let fileList = [];
|
|
let fileList = [];
|
|
for (file of files) {
|
|
for (file of files) {
|
|
const filePath = path.join(dirPath, file);
|
|
const filePath = path.join(dirPath, file);
|