diff --git a/tools/fs/files.ts b/tools/fs/files.ts index 3e4201a216..b91a5a6799 100644 --- a/tools/fs/files.ts +++ b/tools/fs/files.ts @@ -135,7 +135,7 @@ export function findPackageDir(filepath: string) { // truly unexpected happens). The result value is a string when a Git // revision was successfully resolved, or undefined otherwise. export function findGitCommitHash(path: string) { - return new Promise(resolve => { + return new Promise(resolve => { const appDir = findAppDir(path); if (appDir) { execFile("git", ["rev-parse", "HEAD"], {