Skip to content

Commit

Permalink
Remove unused join reference
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed Jun 8, 2021
1 parent 39dfa60 commit 19d868b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/dev/build/lib/version_info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

import execa from 'execa';
import fs from 'fs';
import { join } from 'path';
import { getBuildNumber } from './get_build_number';

interface Options {
Expand All @@ -29,7 +28,7 @@ export async function getVersionInfo({ isRelease, versionQualifier, pkg }: Optio
isRelease ? '' : '-SNAPSHOT'
);

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

Expand Down

0 comments on commit 19d868b

Please sign in to comment.