Skip to content

Commit

Permalink
Fix various lint errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Stockman committed Nov 25, 2013
1 parent ad48892 commit 0e3a4e5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ exports.start = function (json, options, buildCallback) {
exports.start(json2, options);
});
} else {
log.error('hitting the brakes, your ' + buildFileName + ' file is invalid, please fix it!');
log.error('hitting the brakes, your ' + options.buildFileName + ' file is invalid, please fix it!');
}
} else {
exports.start(json, options);
Expand Down
1 change: 0 additions & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ exports.init = function (opts, initCallback) {
buildFile = options['yui-module'] ? options['yui-module'] : path.join(CWD, 'build.json');
}

globalBuildDir = false;
buildRunning = true;

buildFileName = path.basename(buildFile);
Expand Down
4 changes: 2 additions & 2 deletions lib/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ var Stack = require('./stack').Stack,
'line-break': 6000
};
} else {
compressorFn = 'jsminify',
compressorFn = 'jsminify';
compressorConfig = {
callback: function (e) {
log.err('compression failed');
Expand Down Expand Up @@ -844,7 +844,7 @@ var _rollup = function (mod, name, options, callback) {
modName = mod.name || name,
fileName = mod.basefilename || name,
postfix = "@[email protected]('" + modName + "', function (@YUIVAR@, NAME) {" +
(options.strict ? '"use strict"; ' : "") + "}, '@VERSION@'" + stringify(mod.config) + ");\n";
(options.strict ? '"use strict"; ' : "") + "}, '@VERSION@'" + stringify(mod.config) + ");\n",
regex = (typeof mod.regex !== 'undefined') ? mod.regex : globalRegex,
files = [];

Expand Down

0 comments on commit 0e3a4e5

Please sign in to comment.