Skip to content

Commit

Permalink
fix(cocogitto): fix the +cocogitto-bump command
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Oct 22, 2023
1 parent 91abc8a commit 45a4e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/extras/me-cocogitto.el
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ restores it after that."
(completing-read "Increment the version: " '(auto major minor patch)))
(when (yes-or-no-p "Is this version a pre-release? ")
(read-string "Pre-release version: "))))
(with-current-buffer (get-buffer-create +cocogitto-buffer-name)
(when-let ((default-directory (vc-root-dir)))
(when-let ((default-directory (vc-root-dir)))
(with-current-buffer (get-buffer-create +cocogitto-buffer-name)
(conf-colon-mode)
(insert (format "############ Cocogitto bump (%s) ############\n" level))
(call-process-shell-command "git stash -u" nil (current-buffer))
Expand Down

0 comments on commit 45a4e0a

Please sign in to comment.