Skip to content

Commit

Permalink
Surround dependency@versionSpec with quotes in error message (#474)
Browse files Browse the repository at this point in the history
  • Loading branch information
fvictorio authored Mar 18, 2020
1 parent b663106 commit 7c1f976
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/buidler-core/src/internal/core/errors-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@ Please follow Buidler's instructions to resolve this.`
MISSING_DEPENDENCY: {
number: 801,
message: `Plugin %plugin% requires %dependency% to be installed.
%extraMessage%Please run: npm install --save-dev%extraFlags% %dependency%@%versionSpec%`,
%extraMessage%Please run: npm install --save-dev%extraFlags% "%dependency%@%versionSpec%"`,
title: "Plugin dependencies not installed",
description: `You are trying to use a plugin with unmet dependencies.
Expand All @@ -641,7 +641,7 @@ Please follow Buidler's instructions to resolve this.`
DEPENDENCY_VERSION_MISMATCH: {
number: 802,
message: `Plugin %plugin% requires %dependency% version %versionSpec% but got %installedVersion%.
%extraMessage%If you haven't installed %dependency% manually, please run: npm install --save-dev%extraFlags% %dependency%@%versionSpec%
%extraMessage%If you haven't installed %dependency% manually, please run: npm install --save-dev%extraFlags% "%dependency%@%versionSpec%"
If you have installed %dependency% yourself, please reinstall it with a valid version.`,
title: "Plugin dependencies's version mismatch",
description: `You are trying to use a plugin that requires a different version of one of its dependencies.
Expand Down

0 comments on commit 7c1f976

Please sign in to comment.