Skip to content

Commit

Permalink
marked --help (markedjs#1588)
Browse files Browse the repository at this point in the history
marked --help
  • Loading branch information
UziTech committed Dec 27, 2019
2 parents cd2473c + ff8ae11 commit 7979233
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/marked
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ function help() {
stdio: 'inherit'
};

spawn('man', [path.resolve(__dirname, '/../man/marked.1')], options)
spawn('man', [path.resolve(__dirname, '../man/marked.1')], options)
.on('error', function() {
fs.readFile(path.resolve(__dirname, '/../man/marked.1.txt'), 'utf8', function(err, data) {
fs.readFile(path.resolve(__dirname, '../man/marked.1.txt'), 'utf8', function(err, data) {
if (err) throw err;
console.log(data);
});
Expand Down

0 comments on commit 7979233

Please sign in to comment.