Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #175 from matthewwithanm/unknown-type-fix

Fix ReferenceError for Unknown Types
  • Loading branch information...
commit 68c0ea6acd08ddf1c2c8ea7ff1194973030296d4 2 parents 01100bd + 65099f4
@jashkenas authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  docco.js
  2. +1 −1  docco.litcoffee
View
2  docco.js
@@ -151,7 +151,7 @@
lang = getLanguage(source, config);
if (!lang) {
- console.warn("docco: skipped unknown type (" + m + ")");
+ console.warn("docco: skipped unknown type (" + (path.basename(source)) + ")");
}
return lang;
}).sort();
View
2  docco.litcoffee
@@ -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()
Please sign in to comment.
Something went wrong with that request. Please try again.