Skip to content

Commit 723fc3e

Browse files
wincentarcanis
authored andcommitted
Add missing apostrophe in error message (#6732)
* Add missing apostrophe in error message * Update npm-registry.js
1 parent fcf6298 commit 723fc3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/registries/npm-registry.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ export default class NpmRegistry extends Registry {
216216
const escapedName = NpmRegistry.escapeName(name);
217217
const req = await this.request(escapedName, {unfiltered: true});
218218
if (!req) {
219-
throw new Error('couldnt find ' + name);
219+
throw new Error(`couldn't find ${name}`);
220220
}
221221

222222
// By default use top level 'repository' and 'homepage' values

0 commit comments

Comments
 (0)