refactor: print log

This commit is contained in:
peaceiris committed 2020-10-20 18:26:30 +09:00
1 parent 803a5ad8fc
commit 04e26d1083
1 file changed
+3
+3
View File
@@ -24,6 +24,9 @@ export async function deleteExcludedAssets(destDir: string, excludeAssets: strin
return paths;
})();
const globber = await glob.create(excludedAssetPaths.join('\n'));
console.log(excludedAssetNames);
console.log(excludedAssetPaths);
console.log(globber);
for await (const asset of globber.globGenerator()) {
core.info(`[INFO] delete ${asset}`);
rm('-rf', asset);