Skip to content

Commit 056208b

Browse files
Cleans up source code by removing extra variables.
1 parent a25a5f8 commit 056208b

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

index.js

+2-7
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ function cli(process, beforeMinifyCallback) {
1212
var packageConfig = fs.readFileSync(path.join(__dirname, 'package.json'));
1313
var buildVersion = JSON.parse(packageConfig).version;
1414
var fromStdin;
15-
var debugMode;
16-
var removeInlinedFiles;
1715
var inputOptions;
1816
var options;
1917
var stdin;
@@ -134,9 +132,6 @@ function cli(process, beforeMinifyCallback) {
134132
}
135133

136134
// Now coerce arguments into CleanCSS configuration...
137-
debugMode = inputOptions.debug;
138-
removeInlinedFiles = inputOptions.removeInlinedFiles;
139-
140135
options = {
141136
batch: inputOptions.batch,
142137
compatibility: inputOptions.compatibility,
@@ -175,8 +170,8 @@ function cli(process, beforeMinifyCallback) {
175170
var configurations = {
176171
batchSuffix: inputOptions.batchSuffix,
177172
beforeMinifyCallback: beforeMinifyCallback,
178-
debugMode: debugMode,
179-
removeInlinedFiles: removeInlinedFiles,
173+
debugMode: inputOptions.debug,
174+
removeInlinedFiles: inputOptions.removeInlinedFiles,
180175
inputSourceMap: inputOptions.inputSourceMap
181176
};
182177

0 commit comments

Comments
 (0)