Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ __pycache__/
*.py[cod]
*$py.class
*.egg-info/
.venv/

# TeX #
#######
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ var spawn = require( 'child_process' ).spawn;
* @param {Error} error - error object
*/
function onError( error ) {
proc.exitCode = 1;
process.exitCode = 1;
console.error( 'Error: %s', error.message ); // eslint-disable-line no-console
}

Expand All @@ -45,7 +45,7 @@ function onError( error ) {
*/
function onFinish( code ) {
if ( code !== 0 ) {
proc.exitCode = code;
process.exitCode = code;
return console.error( 'Child process exited with code `'+code + '`.' ); // eslint-disable-line no-console
}
}
Expand All @@ -57,7 +57,7 @@ function onFinish( code ) {
* @param {Buffer} data - standard output
*/
function stdout( data ) {
proc.stdout.write( data );
process.stdout.write( data );
}

/**
Expand All @@ -67,7 +67,7 @@ function stdout( data ) {
* @param {Buffer} data - standard error
*/
function stderr( data ) {
proc.stderr.write( data );
process.stderr.write( data );
}


Expand Down
Loading