Skip to content

Commit 009c39e

Browse files
committed
Fix problem and up version
1 parent 0681d4c commit 009c39e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

lib/clean-css-processor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ var CleanCSS = require('clean-css'),
33

44
module.exports = function(less) {
55
function CleanCSSProcessor(options) {
6-
this.options = this.interpretOptions(options);
6+
this.options = options || {};
77
};
88

99
CleanCSSProcessor.prototype = {
1010
process: function (css) {
11-
var options = this.options || {};
11+
var options = this.options;
1212

1313
if (options.keepSpecialComments === undefined) {
1414
options.keepSpecialComments = "*";

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "less-plugin-clean-css",
3-
"version": "1.0.0",
3+
"version": "1.1.0",
44
"description": "clean-css plugin for less.js",
55
"homepage": "http://lesscss.org",
66
"author": {

0 commit comments

Comments
 (0)