Skip to content

Commit 2c3e883

Browse files
committed
chore: fix JavaScript lint errors (issue #10000)
1 parent 8842552 commit 2c3e883

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

  • lib/node_modules/@stdlib/_tools/makie/plugins/makie-install-node-addons/lib

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ __pycache__/
131131
*.py[cod]
132132
*$py.class
133133
*.egg-info/
134+
.venv/
134135

135136
# TeX #
136137
#######

lib/node_modules/@stdlib/_tools/makie/plugins/makie-install-node-addons/lib/main.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ var spawn = require( 'child_process' ).spawn;
3232
* @param {Error} error - error object
3333
*/
3434
function onError( error ) {
35-
proc.exitCode = 1;
35+
process.exitCode = 1;
3636
console.error( 'Error: %s', error.message ); // eslint-disable-line no-console
3737
}
3838

@@ -45,7 +45,7 @@ function onError( error ) {
4545
*/
4646
function onFinish( code ) {
4747
if ( code !== 0 ) {
48-
proc.exitCode = code;
48+
process.exitCode = code;
4949
return console.error( 'Child process exited with code `'+code + '`.' ); // eslint-disable-line no-console
5050
}
5151
}
@@ -57,7 +57,7 @@ function onFinish( code ) {
5757
* @param {Buffer} data - standard output
5858
*/
5959
function stdout( data ) {
60-
proc.stdout.write( data );
60+
process.stdout.write( data );
6161
}
6262

6363
/**
@@ -67,7 +67,7 @@ function stdout( data ) {
6767
* @param {Buffer} data - standard error
6868
*/
6969
function stderr( data ) {
70-
proc.stderr.write( data );
70+
process.stderr.write( data );
7171
}
7272

7373

0 commit comments

Comments
 (0)