Skip to content

Commit 83eb1cf

Browse files
committed
builtin completion
1 parent 5de580e commit 83eb1cf

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

app/OutputHandler.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,8 @@ class OutputHandler {
4747
} else if (this.fileInitialized && this.writeToFile) {
4848
// If not appending, clear the file
4949
fs.writeFileSync(this.outputFile, content);
50-
} else {
51-
// Fall back to console
52-
process.stdout.write(content);
53-
}
50+
}
51+
process.stdout.write(content);
5452
} else {
5553
const stream = this.isStderr ? process.stderr : process.stdout;
5654
if (this.outputFile) {

foo2.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
cat: nonexistent: No such file or directory

0 commit comments

Comments
 (0)