pulumi/pkg/workspace
Fraser Waters 3560333ae6
Clean up uses of .Error() (#14965)
Combination of a few cleanups.

1. Don't call .Error() on errors that are being passed to "%s" format
functions. Format will call `Error()` itself.
2. Don't call assert.Error then assert.Equal/Contains, just use
assert.ErrorEqual/ErrorContains instead.
3. Use "%w" if appropriate, instead of "%v"/"%s".
2023-12-20 15:54:06 +00:00
..
plugin.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
plugin_test.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
templates.go Use fallback project name rather than "pulum" (#13953) 2023-09-18 18:01:37 +00:00
templates_test.go Use fallback project name rather than "pulum" (#13953) 2023-09-18 18:01:37 +00:00