mirror of
https://github.com/Jeuners/ECC.git
synced 2026-09-09 15:02:30 +02:00
fix: add missing process.exit(0) to early return in post-edit-console-warn hook
This commit is contained in:
parent
5cb9c1c2a5
commit
2c26d2d67c
1 changed files with 1 additions and 1 deletions
|
|
@ -28,7 +28,7 @@ process.stdin.on('end', () => {
|
|||
|
||||
if (filePath && /\.(ts|tsx|js|jsx)$/.test(filePath)) {
|
||||
const content = readFile(filePath);
|
||||
if (!content) { process.stdout.write(data); return; }
|
||||
if (!content) { process.stdout.write(data); process.exit(0); }
|
||||
const lines = content.split('\n');
|
||||
const matches = [];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue