Permalink
Browse files

Fix ReferenceError for unknown types.

  • Loading branch information...
1 parent c750d31 commit 65099f4b43ef2c7f7602acd015793bf9ebd87573 @matthewwithanm matthewwithanm committed Mar 22, 2013
Showing with 2 additions and 2 deletions.
  1. +1 −1 docco.js
  2. +1 −1 docco.litcoffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -213,7 +213,7 @@ source files for languages for which we have definitions.
config.sources = options.args.filter((source) ->
lang = getLanguage source, config
- console.warn "docco: skipped unknown type (#{m})" unless lang
+ console.warn "docco: skipped unknown type (#{path.basename source})" unless lang
lang
).sort()

0 comments on commit 65099f4

Please sign in to comment.