Commit 08742393 authored by nanahira's avatar nanahira

add log for package finish

parent fbe642e9
......@@ -102,6 +102,8 @@ export class PackagerService extends ConsoleLogger {
const entries = await readdirp.promise(root, { alwaysStat: true, type: 'files_directories' });
const [directories, files] = _.partition(entries, (item) => item.stats.isDirectory());
this.log(`Calculating checksums.`);
// checksum
const checksum = await this.checksum(
root,
......@@ -155,7 +157,7 @@ export class PackagerService extends ConsoleLogger {
//}
// this.log({ checksum, packages });
this.log(`Package finished.`);
return new PackageResult(checksum, packages);
} catch (e) {
throw e;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment