Skip to content

Commit 01f8b7b

Browse files
ripkensdbashford
authored andcommitted
Update util.js (#173)
Wrong variabe used (another)
1 parent 8b4a604 commit 01f8b7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/util.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ function runExecIntoFile( label, filePath, options, execOptions, genCommand, cb
128128
fs.readFile( fileTempOutPath + '.txt', 'utf8', function( error2, text ) {
129129
if ( error2 ) {
130130
error2 = new Error( 'Error reading' + label +
131-
' output at [[ ' + fileTempOutPath + ' ]], error: ' + error.message );
131+
' output at [[ ' + fileTempOutPath + ' ]], error: ' + error2.message );
132132
cb( error2, null );
133133
} else {
134134
fs.unlink( fileTempOutPath + '.txt', function( error3 ) {

0 commit comments

Comments
 (0)