summary refs log tree commit diff stats
path: root/emacs/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'emacs/.emacs.d')
-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 e7499494..b6fe9781 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")