@pablozaiden/installer 0.0.4 → 0.0.6
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/package.json +1 -1
- package/src/update.ts +0 -2
package/package.json
CHANGED
package/src/update.ts
CHANGED
|
@@ -328,7 +328,6 @@ async function stageInstalledBinaryReplacement(
|
|
|
328
328
|
const targetPath = target.targetPath;
|
|
329
329
|
let tempDirectory: string | undefined;
|
|
330
330
|
let tempPath: string | undefined;
|
|
331
|
-
let tempCreated = false;
|
|
332
331
|
let staged = false;
|
|
333
332
|
|
|
334
333
|
try {
|
|
@@ -343,7 +342,6 @@ async function stageInstalledBinaryReplacement(
|
|
|
343
342
|
const payload = new Uint8Array(await response.arrayBuffer());
|
|
344
343
|
await verifyReleaseAssetChecksum(asset, payload, checksumPolicy, dependencies);
|
|
345
344
|
await dependencies.writeBinary(tempPath, payload);
|
|
346
|
-
tempCreated = true;
|
|
347
345
|
|
|
348
346
|
const installedBinaryStat = await dependencies.statFile(targetPath);
|
|
349
347
|
const executableMode = installedBinaryStat.mode & 0o777;
|