Skip to content

Commit

Permalink
Update src/dev/build/lib/version_info.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Spencer <email@spalger.com>
  • Loading branch information
brianseeders and Spencer authored Jun 8, 2021
1 parent 19d868b commit 4380bc9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dev/build/lib/version_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export async function getVersionInfo({ isRelease, versionQualifier, pkg }: Optio
);

const buildSha = fs.existsSync('.git')
? await execa('git', ['rev-parse', 'HEAD']).stdout
? (await execa('git', ['rev-parse', 'HEAD'])).stdout
: process.env.GIT_COMMIT || process.env.BUILDKITE_COMMIT;

return {
Expand Down

0 comments on commit 4380bc9

Please sign in to comment.