This commit is contained in:
Wliu
2017-03-24 11:38:11 -04:00
parent d202c1abd3
commit 33cd8b87dc
2 changed files with 2 additions and 2 deletions

View File

@@ -107,7 +107,7 @@ module.exports = function () {
for (let lessFilePath of glob.sync(path.join(CONFIG.intermediateAppPath, 'node_modules', 'atom-ui', '**', '*.less'))) {
saveIntoSnapshotAuxiliaryData(lessFilePath, fs.readFileSync(lessFilePath, 'utf8'))
}
function cacheCompiledCSS (lessCache, lessFilePath, importFallbackVariables) {
let lessSource = fs.readFileSync(lessFilePath, 'utf8')
if (importFallbackVariables) {

View File

@@ -71,7 +71,7 @@ for (let packageName in CONFIG.appMetadata.packageDependencies) {
console.log(`Executing ${packageName} tests`.bold.green)
const cp = childProcess.spawn(executablePath, testArguments)
let stderrOutput = ''
cp.stderr.on('data', data => (stderrOutput += data))
cp.stderr.on('data', data => { stderrOutput += data })
cp.on('error', error => { callback(error) })
cp.on('close', exitCode => {
if (exitCode !== 0) {