diff --git a/src/cli/commands/info.js b/src/cli/commands/info.js
index 31e0919f77..cc8e3d5cee 100644
--- a/src/cli/commands/info.js
+++ b/src/cli/commands/info.js
@@ -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'));
diff --git a/src/registries/npm-registry.js b/src/registries/npm-registry.js
index 73d4eeb9e4..0150dce264 100644
--- a/src/registries/npm-registry.js
+++ b/src/registries/npm-registry.js
@@ -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);