Commit 6efbbbde 6efbbbdee208b357039b69bbafc7134d1146aa66 by Mickaël Andrieu

REFS #666 - Added more concise syntax on verbose option availability test

1 parent 057d8390
......@@ -129,7 +129,7 @@ var Casper = function Casper(options) {
// factories
this.cli = phantom.casperArgs;
this.options.logLevel = this.cli.get('log-level', this.options.logLevel);
if (this.options.verbose === false) {
if (!this.options.verbose) {
this.options.verbose = this.cli.has('direct') || this.cli.has('verbose');
}
this.colorizer = this.getColorizer();
......