facult 2.8.7 → 2.8.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/fclt.cjs +1 -1
- package/package.json +1 -1
package/bin/fclt.cjs
CHANGED
|
@@ -107,7 +107,7 @@ async function main() {
|
|
|
107
107
|
const tag = `v${version}`;
|
|
108
108
|
const assetName = `${PACKAGE_NAME}-${version}-${resolved.platform}-${resolved.arch}${resolved.ext}`;
|
|
109
109
|
const url = `https://github.com/${REPO_OWNER}/${REPO_NAME}/releases/download/${tag}/${assetName}`;
|
|
110
|
-
const tmpPath = `${binaryPath}.tmp-${Date.now()}`;
|
|
110
|
+
const tmpPath = `${binaryPath}.tmp-${process.pid}-${Date.now()}-${Math.random().toString(16).slice(2)}`;
|
|
111
111
|
|
|
112
112
|
try {
|
|
113
113
|
await fsp.mkdir(installDir, { recursive: true });
|