refactor: print log

This commit is contained in:
peaceiris 2020-10-20 18:26:30 +09:00
parent 803a5ad8fc
commit 04e26d1083
No known key found for this signature in database
GPG Key ID: 5868468A8EBA64EC

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);