fix: fingerprint hash parsing (#326)

This commit is contained in:
Will Schurman authored and GitHub committed 2025-01-13 09:48:48 -08:00
1 parent 97334d3b21
commit 10bd583de6
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -28848,7 +28848,7 @@ async function getFingerprintHashForPlatformAsync({ cwd, platform, environment,
cwd,
silent: !(0, core_1.isDebug)(),
});
hash = JSON.parse(stdout);
hash = JSON.parse(stdout).hash;
}
catch (error) {
throw new Error(`Error calculating fingerprint: ${String(error)}`, { cause: error });
+1 -1
View File
@@ -42286,7 +42286,7 @@ async function getFingerprintHashForPlatformAsync({ cwd, platform, environment,
cwd,
silent: !(0, core_1.isDebug)(),
});
hash = JSON.parse(stdout);
hash = JSON.parse(stdout).hash;
}
catch (error) {
throw new Error(`Error calculating fingerprint: ${String(error)}`, { cause: error });
+1 -1
View File
@@ -79,7 +79,7 @@ async function getFingerprintHashForPlatformAsync({
cwd,
silent: !isDebug(),
});
hash = JSON.parse(stdout);
hash = JSON.parse(stdout).hash;
} catch (error: unknown) {
throw new Error(`Error calculating fingerprint: ${String(error)}`, { cause: error });
}