mirror of
https://github.com/expo/expo-github-action.git
synced 2026-11-15 17:32:45 -10:00
fix: fingerprint hash parsing (#326)
This commit is contained in:
1 parent
97334d3b21
commit
10bd583de6
3 files changed
+3
-3
No files matched your search
+1
-1
@@ -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
@@ -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 });
|
||||
|
||||
@@ -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 });
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user