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.
1 parent 766d4dc commit 985eb01Copy full SHA for 985eb01
packages/markdown-cli/lib/commands.js
@@ -138,7 +138,10 @@ class Commands {
138
finalFormat = from;
139
}
140
141
- if (outputPath) { Commands.printFormatToFile(result,finalFormat,outputPath); }
+ if (outputPath) {
142
+ Commands.printFormatToFile(result,finalFormat,outputPath);
143
+ return;
144
+ }
145
return Promise.resolve(Commands.printFormatToString(result,finalFormat));
146
147
0 commit comments