Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Dec 31, 2015
1 parent a15b14b commit f78ef4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ cli.run = function(argv, env) {
fis.project.setProjectRoot(env.cwd);

// 如果指定了 media 值
if (~['release', 'inspect'].indexOf(argv._[0]) > -1 && argv._[1]) {
if (~['release', 'inspect'].indexOf(argv._[0]) && argv._[1]) {
fis.project.currentMedia(argv._[1]);
}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fis3",
"version": "3.3.10",
"version": "3.3.11",
"description": "fis 3.0",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit f78ef4d

Please sign in to comment.