Skip to content

Commit

Permalink
Merge pull request #945 from cor3ntin/fix_js_script
Browse files Browse the repository at this point in the history
Fix JS API build
  • Loading branch information
Michael Bonani authored Sep 8, 2021
2 parents d3a9acf + 01e0cb1 commit 2970c39
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions js/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@ exec('npm pack', function callback(error, stdout, stderr){

console.log(`${src} => ${dest}`)

fs.copyFileSync(`${src}`, `${dest}`, (err) => {
if (err) throw err;
console.log(`removing ${src}`)
fs.unlinkSync(file)
process.exit(0);
})
fs.copyFileSync(`${src}`, `${dest}`)
process.exit(0);
});

0 comments on commit 2970c39

Please sign in to comment.