We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fcf6298 commit 723fc3eCopy full SHA for 723fc3e
src/registries/npm-registry.js
@@ -216,7 +216,7 @@ export default class NpmRegistry extends Registry {
216
const escapedName = NpmRegistry.escapeName(name);
217
const req = await this.request(escapedName, {unfiltered: true});
218
if (!req) {
219
- throw new Error('couldnt find ' + name);
+ throw new Error(`couldn't find ${name}`);
220
}
221
222
// By default use top level 'repository' and 'homepage' values
0 commit comments