summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--emacs/.emacs.d/main.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index e749949..b6fe978 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -539,7 +539,7 @@
               (interactive (list
                             (projectile-completing-read "version: " '("major" "minor" "patch" "premajor" "preminor" "prepatch" "prerelease" "from-git"))))
               (projectile-with-default-dir (projectile-project-root)
-                (cmd-to-echo "npm" (concat "version " type))))
+                (message (shell-command-to-string (concat "npm" " version " type)))))
 
             (defun ap/open-project (&optional arg)
               (interactive "P")