fix: creating destDir

This commit is contained in:
peaceiris 2020-10-20 16:27:03 +09:00
parent cf805b9457
commit cdcccad319
No known key found for this signature in database
GPG Key ID: 5868468A8EBA64EC

View File

@ -39,7 +39,7 @@ export async function copyAssets(
): Promise<void> { ): Promise<void> {
core.info(`[INFO] prepare publishing assets`); core.info(`[INFO] prepare publishing assets`);
if (fs.existsSync(destDir) === false) { if (!fs.existsSync(destDir)) {
core.info(`[INFO] create ${destDir}`); core.info(`[INFO] create ${destDir}`);
await createDir(destDir); await createDir(destDir);
} }