Skip to content

Commit

Permalink
fix(deno-lint): publish script
Browse files Browse the repository at this point in the history
  • Loading branch information
Brooooooklyn committed Aug 18, 2020
1 parent 59454e2 commit a2d789f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/deno-lint/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ updatePackageJson(path.join(__dirname, 'package.json'), {
for (const name of [...platforms, 'musl']) {
const pkgDir = path.join(__dirname, 'npm', name)
const filename = `deno-lint.${name}.node`
const bindingFile = fs.readFileSync(path.join(__dirname, `bindings-${name}`, filename))
const bindingFile = fs.readFileSync(path.join(__dirname, filename))
fs.writeFileSync(path.join(pkgDir, filename), bindingFile)
execSync('npm publish', {
cwd: pkgDir,
Expand Down

0 comments on commit a2d789f

Please sign in to comment.