We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d10121 commit 89e5d82Copy full SHA for 89e5d82
sdk/Pulumi/Deployment/Deployment.cs
@@ -177,12 +177,12 @@ string IDeployment.RootDirectory
177
{
178
get
179
180
- if (_rootDirectory == null)
181
- {
182
- throw new InvalidOperationException("Root directory is not available in your version of the pulumi CLI, please upgrade to the latest version");
183
- }
+ if (_rootDirectory == null)
+ {
+ throw new InvalidOperationException("The Pulumi CLI version does not support root directory. Please update the Pulumi CLI.");
+ }
184
185
- return _rootDirectory;
+ return _rootDirectory;
186
}
187
188
0 commit comments