mirror of
https://github.com/samsonjs/kwikemon.git
synced 2026-04-27 15:07:45 +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) {
|
else if (name) {
|
||||||
process.stdin.pipe(kwikemon.createWriter(name));
|
process.stdin.pipe(kwikemon.writer(name));
|
||||||
process.stdin.on('end', function() {
|
process.stdin.on('end', function() {
|
||||||
process.exit(0);
|
process.exit(0);
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue