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 af5a7a5 commit c36f0abCopy full SHA for c36f0ab
bin/doxdox
@@ -86,23 +86,24 @@ ${chalk.yellow(' -t, --title')} Sets title.
86
87
doxdox.parseInputs(args.inputs, Object.assign({
88
'pkg': projectPkg
89
- }, config)).then(content => {
+ }, config))
90
+ .then(content => {
91
- if (output) {
92
+ if (output) {
93
- fs.writeFileSync(output, content, 'utf8');
94
+ fs.writeFileSync(output, content, 'utf8');
95
- } else {
96
+ } else {
97
- process.stdout.write(content);
98
+ process.stdout.write(content);
99
- }
100
+ }
101
- })
102
- .catch(err => {
+ })
103
+ .catch(err => {
104
- process.stderr.write(`${err.toString()}\n`);
105
+ process.stderr.write(`${err.toString()}\n`);
106
- });
107
+ });
108
109
}
0 commit comments