Skip to content

Commit

Permalink
fix lints on master (#3120)
Browse files Browse the repository at this point in the history
  • Loading branch information
bestander authored Apr 12, 2017
1 parent c32d696 commit 977497a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/commands/info.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export async function run(

// pass application/json Accept to get full metadata for info command
let result = await config.registries.npm.request(name, {
headers: {'Accept': 'application/json'}
headers: {'Accept': 'application/json'},
});
if (!result) {
reporter.error(reporter.lang('infoFail'));
Expand Down
2 changes: 1 addition & 1 deletion src/registries/npm-registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export default class NpmRegistry extends Registry {
|| removePrefix(requestUrl, registry)[0] === '@';

const headers = Object.assign({
'Accept': 'application/vnd.npm.install-v1+json'
'Accept': 'application/vnd.npm.install-v1+json',
}, opts.headers);
if (this.token || (alwaysAuth && isRequestToRegistry(requestUrl, registry))) {
const authorization = this.getAuth(pathname);
Expand Down

0 comments on commit 977497a

Please sign in to comment.