pulumi/sdk/go/common/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
..
config.go [cli] Include config from ESC in `pulumi config` (#14560) 2023-11-21 10:44:45 +00:00
creds.go Fix panic in whoami (#14108) 2023-10-06 16:56:36 +00:00
creds_test.go ci: radical idea - what if slow tests & no stdout makes GH consider runner dead? 2022-03-06 14:52:13 -08:00
loaders.go [esc] Add commands for managing stack environments (#14628) 2023-11-22 05:04:14 +00:00
loaders_test.go ignore unexpected types instead of erroring out (#14149) 2023-10-11 16:39:16 +00:00
paths.go Translate permission errors into ProjectNotFound when searching 2023-06-20 15:15:40 +01:00
paths_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
plugins.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
plugins_install_nodejs_test.go ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
plugins_install_python_test.go ci: Use reduced smoke testing on Windows & macOS targets 2022-09-21 09:55:06 -07:00
plugins_install_test.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
plugins_test.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
project.go Add pulumi config env ls command (#14855) 2023-12-19 22:09:38 +00:00
project.json [sdk] add optional display name and tag fields to project templates (#14587) 2023-11-18 19:04:13 +00:00
project_test.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
settings.go move pkg/workspace -> sdk/go/common/workspace 2020-03-18 14:35:53 -07:00
templates.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
templates_test.go Use EqualError/ErrorContains instead of Error (#14737) 2023-12-08 06:40:14 +00:00
templates_zip.go Simplifies URL parsing for pulumi new <zip> (#14546) 2023-11-13 17:08:52 +00:00
templates_zip_test.go Enable perfsprint linter (#14813) 2023-12-12 12:19:42 +00:00
workspace.go all: Reformat with gofumpt 2023-03-03 09:00:24 -08:00