Skip to content

Commit 09cde63

Browse files
committed
applied the new feedbacks
1 parent 972ae2b commit 09cde63

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • implement-shell-tools/wc

implement-shell-tools/wc/wc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ function main() {
6262
printCounts(file, counts, options);
6363
} catch (error) {
6464
console.error(`Error reading file ${file}: ${error.message}`);
65+
process.exitCode = 1;
6566
}
6667
});
6768

0 commit comments

Comments
 (0)