Skip to content
Open
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
22 changes: 11 additions & 11 deletions lib/node_modules/@stdlib/repl/presentation/lib/commands/last.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,20 +36,20 @@
* @private
*/
function onCommand() {
pres._repl.once( 'drain', onDrain ); // eslint-disable-line no-underscore-dangle

/**
* Callback invoked upon a `drain` event.
*
* @private
*/
function onDrain() {
pres.last().show();
}
pres._repl.once( 'drain', onDrain );

Check failure on line 39 in lib/node_modules/@stdlib/repl/presentation/lib/commands/last.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Unexpected dangling '_' in '_repl'
}

/**
* Callback invoked upon a `drain` event.
*
* @private
*/
function onDrain() {
pres.last().show();
}
}


// EXPORTS //

module.exports = command;
module.exports = command;

Check failure on line 55 in lib/node_modules/@stdlib/repl/presentation/lib/commands/last.js

View workflow job for this annotation

GitHub Actions / Lint Changed Files

Newline required at end of file but not found
Loading