mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-14 22:29:17 +08:00
refactor: print log
This commit is contained in:
parent
803a5ad8fc
commit
04e26d1083
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user