We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
license2rtf
1 parent cdcd0ed commit d4c554cCopy full SHA for d4c554c
tools/license2rtf.mjs
@@ -289,11 +289,15 @@ class RtfGenerator extends Stream {
289
stdin.setEncoding('utf-8');
290
stdin.resume();
291
292
-await pipeline(
293
- stdin,
294
- new LineSplitter(),
295
- new ParagraphParser(),
296
- new Unwrapper(),
297
- new RtfGenerator(),
298
- stdout,
299
-);
+async function main() {
+ await pipeline(
+ stdin,
+ new LineSplitter(),
+ new ParagraphParser(),
+ new Unwrapper(),
+ new RtfGenerator(),
+ stdout,
300
+ );
301
+}
302
+
303
+main().catch(console.error);
0 commit comments