diff --git a/src/registries/npm-registry.js b/src/registries/npm-registry.js index 737ff71b..f1fb3786 100644 --- a/src/registries/npm-registry.js +++ b/src/registries/npm-registry.js @@ -216,7 +216,7 @@ export default class NpmRegistry extends Registry { const escapedName = NpmRegistry.escapeName(name); const req = await this.request(escapedName, {unfiltered: true}); if (!req) { - throw new Error('couldnt find ' + name); + throw new Error(`couldn't find ${name}`); } // By default use top level 'repository' and 'homepage' values