Skip to content

Commit 2692dd2

Browse files
committed
lint
1 parent ef53c95 commit 2692dd2

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/csscomb.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ Comb.prototype = {
3131
configure: function(config) {
3232
for (var option in config) {
3333
if (config.hasOwnProperty(option) && config[option] && this._options[option]) {
34-
var handler;
3534
try {
3635
this._config[option] = require('./options/' + option).setValue(config[option]);
3736
} catch (e) {}

lib/options/strip-spaces.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module.exports = {
99
* @returns {Object}
1010
*/
1111
setValue: function(value) {
12-
this._value = !!value;
12+
this._value = Boolean(value);
1313
return this;
1414
},
1515

0 commit comments

Comments
 (0)