mirror of https://github.com/pulumi/pulumi.git
73ff332f5e
The Node SDK creates a tmp file when packing programs, to house the packed tarball. We previously used uuid to create our own tmpfile with a random name. This commit uses os.tempfile instead. The stdlib function os.tempfile is race safe, collision-proof, and defaults to a tmp directory, which the OS is free to automatically clean up in case Pulumi fails to. |
||
---|---|---|
.. | ||
go |