Skip to content

Commit 89e5d82

Browse files
Update sdk/Pulumi/Deployment/Deployment.cs
Co-authored-by: Fraser Waters <[email protected]>
1 parent 2d10121 commit 89e5d82

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: sdk/Pulumi/Deployment/Deployment.cs

+5-5
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ string IDeployment.RootDirectory
177177
{
178178
get
179179
{
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-
}
180+
if (_rootDirectory == null)
181+
{
182+
throw new InvalidOperationException("The Pulumi CLI version does not support root directory. Please update the Pulumi CLI.");
183+
}
184184

185-
return _rootDirectory;
185+
return _rootDirectory;
186186
}
187187
}
188188

0 commit comments

Comments
 (0)