Skip to content

Commit

Permalink
Tidy up linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Jun 3, 2020
1 parent bacd071 commit 346f9bb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/commands/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ function command(argv,result) {
return result.help(command);
}

var data = {}
var data = {};
var m = /^(.+)@(.+)$/.exec(module);
if (m) {
data.module = m[1];
data.version = m[2]
data.version = m[2];
} else {
data.module = module;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/result.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ module.exports = {
},
warn:function(msg) {
if (process.env.NR_TRACE && msg.stack) {
console.warn(msg.stack)
console.warn(msg.stack);
}
if (msg.response) {
if (msg.response.status === 401) {
Expand Down

0 comments on commit 346f9bb

Please sign in to comment.