fix: correct misspelling 'cancelled' to 'canceled'
This commit is contained in:
@@ -2162,7 +2162,7 @@ func runGitCmdWithTimeoutMsg(ctx context.Context, cmd *exec.Cmd, cmdName string,
|
|||||||
case <-time.After(timeoutDelay):
|
case <-time.After(timeoutDelay):
|
||||||
fmt.Fprintf(os.Stderr, "⏳ %s is taking longer than expected (possibly waiting for authentication). If this hangs, check for a browser auth prompt or run 'git status' in another terminal.\n", cmdName)
|
fmt.Fprintf(os.Stderr, "⏳ %s is taking longer than expected (possibly waiting for authentication). If this hangs, check for a browser auth prompt or run 'git status' in another terminal.\n", cmdName)
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
// Context cancelled, don't print message
|
// Context canceled, don't print message
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|||||||
@@ -791,7 +791,7 @@ func runCmdWithTimeoutMessage(ctx context.Context, timeoutMsg string, timeoutDel
|
|||||||
case <-time.After(timeoutDelay):
|
case <-time.After(timeoutDelay):
|
||||||
fmt.Fprintf(os.Stderr, "⏳ %s\n", timeoutMsg)
|
fmt.Fprintf(os.Stderr, "⏳ %s\n", timeoutMsg)
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
// Context cancelled, don't print message
|
// Context canceled, don't print message
|
||||||
}
|
}
|
||||||
}()
|
}()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user