mirror of
https://github.com/samsonjs/kwikemon.git
synced 2026-03-25 09:05:51 +00:00
fix a bug creating a writer in bin/kwikemon
This commit is contained in:
parent
e6e122cbf4
commit
3fbf082cbe
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ else if (name && text) {
|
|||
});
|
||||
}
|
||||
else if (name) {
|
||||
process.stdin.pipe(kwikemon.createWriter(name));
|
||||
process.stdin.pipe(kwikemon.writer(name));
|
||||
process.stdin.on('end', function() {
|
||||
process.exit(0);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue