pulumi/sdk/go/common
Luke Hoban b45b3ed543
Re-apply #5857 (#5893)
This re-applies the fix in 5857 to make credentials.json writes concurrency safe.

The original fix used `path.Dir` instead of `filepath.Dir` - which led to not placing the temp file in the same folder (and drive) as the renamed file target.  This led to errors on Windows environments where the working directory was on a different drive than the `~/.pulumi` directory.  The change to use `filepath.Dir` instead ensures that even on Windows, the true directory containing the credentials file is used for the temp file as well.

Fixes #3877.
2020-12-08 17:38:59 -08:00
..
apitype [cli] Add an import command. (#4765) 2020-10-14 12:51:53 +01:00
constant expose execution kind via update metadata (#5258) 2020-08-31 09:07:59 -07:00
diag Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
encoding Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
resource Properly resize arrays when adding (#5872) 2020-12-06 21:23:50 +00:00
testing Add PULUMI_BACKEND_URL env var (#5789) 2020-11-22 15:27:59 -08:00
tokens Breaking changes due to Feature 2.0 work 2020-04-14 09:30:25 +01:00
tools switch os/user with luser 2020-07-27 14:44:08 -07:00
util [ciutil] Correct system name of Jenkins CI (#5891) 2020-12-08 18:36:31 +00:00
version move pkg/version -> sdk/go/common/version 2020-03-18 15:25:25 -07:00
workspace Re-apply #5857 (#5893) 2020-12-08 17:38:59 -08:00