Skip to content

Commit

Permalink
Merge pull request #2 from locolupo/master
Browse files Browse the repository at this point in the history
fixing hugo version command
  • Loading branch information
akmittal committed Nov 21, 2015
2 parents e0aeede + 7fb7bdb commit cd2859c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hugofy.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run(self,edit):
class HugoversionCommand(sublime_plugin.TextCommand):
def run(self,edit):
try:
out=subprocess.check_output("hugo version",stderr=subprocess.STDOUT,universal_newlines=True)
out=subprocess.check_output(["hugo", "version"],stderr=subprocess.STDOUT,universal_newlines=True)
sublime.message_dialog(out)
except:
sublime.error_message("Hugo not installed or path not set")
Expand Down

0 comments on commit cd2859c

Please sign in to comment.