We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hugo version : ("hugo" "v0.81.0+extended" "darwin/amd64" "BuildDate=unknown")
Debug: Debugger entered--Lisp error: (wrong-type-argument arrayp nil) substring(nil 1) (string-to-number (substring (nth 4 source) 1)) (let ((source (split-string (let ((temp-buffer (generate-new-buffer " temp" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ...) (and ... ...)))) " "))) (string-to-number (substring (nth 4 source) 1))) easy-hugo--version() (progn (easy-hugo--version))
The text was updated successfully, but these errors were encountered:
;; HACK fix easy-hugo--view (defun easy-hugo--version-patch () "Return the version of hugo." (let ((source (split-string (with-temp-buffer (shell-command-to-string (concat easy-hugo-bin " version"))) " "))) (string-to-number (substring (nth 1 source) 1)))) (advice-add 'easy-hugo--version :override #'easy-hugo--version-patch)
For now ,I just add the advide to use, change to (substring (nth 1 source)
(substring (nth 1 source)
Sorry, something went wrong.
Solved by d5c4e0f
@liuyinz Thanks a lot.
No branches or pull requests
hugo version :
("hugo" "v0.81.0+extended" "darwin/amd64" "BuildDate=unknown")
Debug:
Debugger entered--Lisp error: (wrong-type-argument arrayp nil)
substring(nil 1)
(string-to-number (substring (nth 4 source) 1))
(let ((source (split-string (let ((temp-buffer (generate-new-buffer " temp" t))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn ...) (and ... ...)))) " "))) (string-to-number (substring (nth 4 source) 1)))
easy-hugo--version()
(progn (easy-hugo--version))
The text was updated successfully, but these errors were encountered: