Skip to content

Commit

Permalink
marked --help (#1588)
Browse files Browse the repository at this point in the history
marked --help
  • Loading branch information
UziTech committed Dec 27, 2019
2 parents 416003b + 3477a09 commit a42413d
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

1 comment on commit a42413d

@vercel
Copy link

@vercel vercel bot commented on a42413d Dec 27, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.