10BC0
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 37d3dc9 commit 41879ecCopy full SHA for 41879ec
test/cli.js
@@ -14,11 +14,9 @@ const outputPath = './test/css/input.rtl.css'
14
15
function runCommand (cmd, args, done) {
16
const child = spawn(cmd, args)
17
- let resp = ''
18
- let err = ''
19
- child.stderr.on('data', (error) => { err += error })
20
- child.stdout.on('data', (buffer) => { resp += buffer.toString() })
21
- child.stdout.on('end', () => { done(err, resp) })
+ let output = ''
+ child.stderr.on('data', (data) => { output += data })
+ child.stdout.on('end', () => { done(output) })
22
}
23
24
describe('# CLI', () => {
0 commit comments