Skip to content

Commit

Permalink
Remove console log for the file path
Browse files Browse the repository at this point in the history
This can be seen when viewing the docs app locally.
  • Loading branch information
gemmaleigh committed Nov 18, 2016
1 parent a0f3ca9 commit e8fdbdc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,6 @@ exports.matchRoutes = function (req, res) {

exports.matchMdRoutes = function (req, res) {
var docsPath = '/../docs/documentation/'
var filePath = path.join(__dirname, docsPath, req.params[0] + '.md')
console.log('file path is:', filePath)
if (fs.existsSync(path.join(__dirname, docsPath, req.params[0] + '.md'), 'utf8')) {
var doc = fs.readFileSync(path.join(__dirname, docsPath, req.params[0] + '.md'), 'utf8')
var html = marked(doc)
Expand Down

0 comments on commit e8fdbdc

Please sign in to comment.