Skip to content

Commit

Permalink
fixed missing semicolons per codeql
Browse files Browse the repository at this point in the history
  • Loading branch information
electricgull committed Mar 29, 2023
1 parent 27c9db4 commit aad344e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yarn2npm/yarn2npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const main = async () => {
const origPath = process.cwd();

//Create github branch
await createYarn2NpmBranch(repoName, dir, org)
await createYarn2NpmBranch(repoName, dir, org);

if (fs.existsSync(`${dir}/package-lock.json`)){
console.log(`${repoName} is already configured for npm`);
Expand Down Expand Up @@ -85,7 +85,7 @@ const main = async () => {
encoding: 'utf8',
flag: 'r',
})
.toString().replace(/yarn/g,'npm run')
.toString().replace(/yarn/g,'npm run');

fs.writeFile(`${dir}/package.json`, packageFile, 'utf8', function (err) {
if (err) return console.log(err);
Expand Down

0 comments on commit aad344e

Please sign in to comment.