mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 06:33: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;
|
return paths;
|
||||||
})();
|
})();
|
||||||
const globber = await glob.create(excludedAssetPaths.join('\n'));
|
const globber = await glob.create(excludedAssetPaths.join('\n'));
|
||||||
|
console.log(excludedAssetNames);
|
||||||
|
console.log(excludedAssetPaths);
|
||||||
|
console.log(globber);
|
||||||
for await (const asset of globber.globGenerator()) {
|
for await (const asset of globber.globGenerator()) {
|
||||||
core.info(`[INFO] delete ${asset}`);
|
core.info(`[INFO] delete ${asset}`);
|
||||||
rm('-rf', asset);
|
rm('-rf', asset);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user