mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Update Typescript to 4.1.2 - fix breaking changes
This commit is contained in:
@@ -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<string>(resolve => {
|
||||
return new Promise<string|void>(resolve => {
|
||||
const appDir = findAppDir(path);
|
||||
if (appDir) {
|
||||
execFile("git", ["rev-parse", "HEAD"], {
|
||||
|
||||
Reference in New Issue
Block a user