mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2026-10-02 17:41:36 +00:00
fix: creating destDir
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -39,7 +39,7 @@ export async function copyAssets(
|
||||
): Promise<void> {
|
||||
core.info(`[INFO] prepare publishing assets`);
|
||||
|
||||
if (fs.existsSync(destDir) === false) {
|
||||
if (!fs.existsSync(destDir)) {
|
||||
core.info(`[INFO] create ${destDir}`);
|
||||
await createDir(destDir);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user