Skip to content

Commit

Permalink
fix(build): fix select-dist script
Browse files Browse the repository at this point in the history
  • Loading branch information
raymondfeng committed Mar 22, 2018
1 parent 4fee3b1 commit e91e810
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/build/bin/select-dist.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function run(argv, options) {
const args = argv.slice(2).map(a => a.replace(/\bDIST\b/g, dist));
const command = args.shift();

return utils.runShell(command, args, option);
return utils.runShell(command, args, options);
}

module.exports = run;
Expand Down
2 changes: 1 addition & 1 deletion packages/example-rpc-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"tslint": "lb-tslint",
"tslint:fix": "npm run tslint -- --fix",
"pretest": "npm run clean && npm run build",
"test": "lb-dist mocha --opts node_modules/@loopback/build/mocha.opts DIST/test",
"test": "lb-mocha DIST/test",
"posttest": "npm run lint",
"start": "npm run build && node .",
"prepublishOnly": "npm run build"
Expand Down

0 comments on commit e91e810

Please sign in to comment.