pulumi/sdk/nodejs/npm
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
..
manager.go Add unit test for npm installation. 2023-05-26 11:43:22 -04:00
manager_test.go test(sdk/npm): Don't send command output to /dev/null 2023-05-26 14:12:29 -07:00
npm.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00
npm_test.go Fix TestNPMInstallCmd 2023-05-29 14:16:23 +01:00
yarn.go Clean up uses of .Error() (#14965) 2023-12-20 15:54:06 +00:00