fix(cloudcmd) editor: choose -> env

This commit is contained in:
coderaiser 2017-06-06 09:35:42 +03:00
parent fc0c528037
commit 8132bbe3a3

View file

@ -51,7 +51,7 @@ const args = require('minimist')(argv.slice(2), {
minify : config('minify'),
online : config('online'),
open : config('open'),
editor : choose(env('editor'), config('editor')),
editor : env('editor') || config('editor'),
packer : config('packer') || 'tar',
zip : config('zip'),
username : env('username') || config('username'),