Skip to content

Commit 573e985

Browse files
committed
Add validation for gh before codespaces-create
1 parent fcdf8f0 commit 573e985

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

codespaces.el

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ allowing for faster startup. Validation happens lazily on first use."
256256
(defun codespaces-create ()
257257
"Prompt for repository, branch, and machine type to create a Codespace."
258258
(interactive)
259+
(codespaces--validate-gh)
259260
(let* ((repo (read-string "Repository (user/repo): "))
260261
(branch (read-string "Branch: " (or (codespaces--get-default-branch repo) "main")))
261262
(machine (read-string "Machine type: " "basicLinux32gb")))

0 commit comments

Comments
 (0)