Skip to content

Commit

Permalink
Made some small fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdoe committed Jan 22, 2024
1 parent cccba02 commit 79ef4b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class GitHubAuthenticator: ObservableObject {
private func startDeviceFlowOnWebsite(response: GitHubDeviceCodeResponse) -> Bool {
let alert = NSAlert()
alert.messageText = "GitHub sign in"
alert.informativeText = "The process will continue on the GitHub website in your default web browser. You will have to enter the code shown below.\n\n\(response.userCode)\n\nWhen you return to CCMenu please wait for a token. The authentication field should show the text \"(access token)\"."
alert.informativeText = "The process will continue on the GitHub website in your default web browser. You will have to enter the code shown below.\n\n\(response.userCode)\n\nWhen you return to CCMenu please wait for a token to appear."
alert.alertStyle = .informational
alert.addButton(withTitle: "Copy code and continue")
alert.addButton(withTitle: "Cancel")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ struct GitHubWorkflow: Identifiable, Hashable, Decodable {
}

var isValid: Bool {
return !name.isEmpty && !name.starts(with: "{")
return !name.isEmpty && !name.starts(with: "(")
}

var filename: String {
Expand Down

0 comments on commit 79ef4b9

Please sign in to comment.