Skip to content

Commit

Permalink
Fix some lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Frassle committed Nov 4, 2022
1 parent d3b94aa commit 6a8275b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion pkg/engine/lifecycletest/pulumi_test.go
Expand Up @@ -3791,7 +3791,8 @@ func TestDeletedWith(t *testing.T) {
assert.Equal(t, "created-id-1", snap.Resources[2].ID.String())
assert.Equal(t, "created-id-2", snap.Resources[3].ID.String())

// Run a new update which will cause a replace, we should only see a provider delete for aURN but should get a new id for everything
// Run a new update which will cause a replace, we should only see a provider delete for aURN but should
// get a new id for everything
ins = resource.NewPropertyMapFromMap(map[string]interface{}{
"foo": "baz",
})
Expand Down
2 changes: 1 addition & 1 deletion sdk/go/pulumi/context.go
Expand Up @@ -604,7 +604,7 @@ func (ctx *Context) ReadResource(
}

if options.DeletedWith != "" && !ctx.supportsDeletedWith {
return errors.New("The Pulumi CLI does not support the DeletedWith option. Please update the Pulumi CLI.")
return errors.New("the Pulumi CLI does not support the DeletedWith option. Please update the Pulumi CLI")
}

// Note that we're about to make an outstanding RPC request, so that we can rendezvous during shutdown.
Expand Down
2 changes: 1 addition & 1 deletion sdk/nodejs/runtime/settings.ts
Expand Up @@ -514,7 +514,7 @@ export async function monitorSupportsOutputValues(): Promise<boolean> {
* monitorSupportsDeletedWith returns a promise that when resolved tells you if the resource monitor we are
* connected to is able to support the deletedWith resource option across its RPC interface.
*/
export async function monitorSupportsDeletedWith(): Promise<boolean> {
export async function monitorSupportsDeletedWith(): Promise<boolean> {
return monitorSupportsFeature("deletedWith");
}

Expand Down

0 comments on commit 6a8275b

Please sign in to comment.