diff --git a/prepush.mjs b/prepush.mjs index 15b06a6..86559f4 100644 --- a/prepush.mjs +++ b/prepush.mjs @@ -29,9 +29,8 @@ fs.access(filePath, fs.constants.F_OK, (err) => { // throw (new Error(`Error executing git push`)); return; }); */ - } else { - console.log('Dist Folder exists. Pushing the files to github...'); - return; } + console.log('Dist Folder exists. Pushing the files to github...'); + return; });