Skip to content

Commit 5736020

Browse files
committed
Update debug messages
1 parent 1beef6e commit 5736020

File tree

1 file changed

+5
-5
lines changed
  • lib/node_modules/@stdlib/repl/presentation/lib

1 file changed

+5
-5
lines changed

lib/node_modules/@stdlib/repl/presentation/lib/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ function Presentation( repl, options ) { // eslint-disable-line stdlib/no-redecl
172172
* @private
173173
*/
174174
function onClose() {
175-
debug( 'REPL environment closed. Performing presentation clean-up tasks...' );
175+
debug( 'REPL environment closed. Performing presentation clean-up tasks.' );
176176
self.unwatch();
177177
}
178178
}
@@ -877,12 +877,12 @@ setNonEnumerableReadOnly( Presentation.prototype, 'run', function run( clbk ) {
877877
self = this;
878878
code = this._slides[ this._slideCursor ].code;
879879
if ( code && code.length ) {
880-
debug( 'Forwarding each line of slide code to the REPL readline interface in order to mimic user input...' );
880+
debug( 'Forwarding each line of slide code to the REPL readline interface in order to mimic user input.' );
881881
len = code.length;
882882
i = -1;
883883
return next();
884884
}
885-
debug( 'Slide does not contain code to run. Skipping...' );
885+
debug( 'Slide does not contain code to run. Skipping.' );
886886

887887
// TODO: replace with polyfill
888888
process.nextTick( clbk );
@@ -898,7 +898,7 @@ setNonEnumerableReadOnly( Presentation.prototype, 'run', function run( clbk ) {
898898
i += 1;
899899
if ( i < len ) {
900900
if ( code[ i ] ) {
901-
debug( 'Forwarding line %d...', i );
901+
debug( 'Forwarding line %d.', i );
902902
self._repl._rli.write( code[ i ]+'\n' );
903903
self._repl.once( 'drain', next );
904904
} else {
@@ -1043,7 +1043,7 @@ setNonEnumerableReadOnly( Presentation.prototype, 'reload', function reload() {
10431043
if ( this._source === '' ) {
10441044
throw new Error( 'invalid operation. No presentation to reload. Use the `load()` method to load a presentation.' );
10451045
}
1046-
debug( 'Attempting to reload presentation...' );
1046+
debug( 'Attempting to reload presentation.' );
10471047
try {
10481048
this.load( this._source );
10491049
} catch ( err ) {

0 commit comments

Comments
 (0)