Merge pull request #396 from pulumi/includeKey
Include the actual key that we were unable to find on the error.
This commit is contained in:
commit
b6f5d75ac0
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ class ConfigTypeError extends RunError {
|
|||
* ConfigMissingError is used when a configuration value is completely missing.
|
||||
*/
|
||||
class ConfigMissingError extends RunError {
|
||||
constructor(key: string) {
|
||||
constructor(public key: string) {
|
||||
super(
|
||||
`Missing required configuration variable '${key}'\n` +
|
||||
`\tplease set a value using the command \`pulumi config ${key} <value>\``
|
||||
|
|
Loading…
Reference in a new issue