Replace "vi" with $EDITOR in config command

This commit is contained in:
David White 2014-10-09 13:40:16 +01:00
parent a6aa40b1c1
commit df1578689f
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ program
.description("Edit config: '" + Helper.HOME + "/config.js'")
.action(function() {
child.spawn(
"vi",
process.env.EDITOR || "vi",
[Helper.HOME + "/config.js"],
{stdio: "inherit"}
);