Permalink
Browse files

fix(merge): make sure to merge the right lockfile

  • Loading branch information...
zkat committed Dec 3, 2017
1 parent 5f9dc12 commit 09f6b259fa59c1dccfe53426a0039180ac7a613d
Showing with 4 additions and 1 deletion.
  1. +4 −1 index.js
@@ -82,6 +82,9 @@ function mergeFiles (argv) {
}
)
fs.writeFileSync(argv['%P'], ret.stdout)
cp.execSync(argv.command, { stdio: 'inherit' })
cp.execSync(argv.command, {
stdio: 'inherit',
cwd: path.dirname(argv['%P'])
})
fs.writeFileSync(argv['%A'], fs.readFileSync(argv['%P']))
}

0 comments on commit 09f6b25

Please sign in to comment.