Skip to content

Commit

Permalink
semi-colons
Browse files Browse the repository at this point in the history
  • Loading branch information
STRd6 committed Sep 2, 2023
1 parent b993b72 commit 9f3856e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/repl.js
Original file line number Diff line number Diff line change
Expand Up @@ -1801,10 +1801,10 @@ function defineDefaultCommands(repl) {
const stats = fs.statSync(file);
if (stats && stats.isFile()) {
_turnOnEditorMode(this);
this._loading = true
this._loading = true;
const data = fs.readFileSync(file, 'utf8');
this.write(data);
this._loading = false
this._loading = false;
_turnOffEditorMode(this);
this.write('\n');
} else {
Expand Down

0 comments on commit 9f3856e

Please sign in to comment.