mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-02 01:21:38 +00:00
refactor: print log
This commit is contained in:
1 file changed
+3
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user