Skip to content

Commit

Permalink
v2.3.15
Browse files Browse the repository at this point in the history
Coverage 100%
  • Loading branch information
amarcruz committed Dec 7, 2015
1 parent 1ad26c1 commit 4ea426b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions dist/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ var brackets = require('riot-tmpl').brackets
if (opts.entities) return parts

if (url && opts.debug) {
/* istanbul ignore if */
if (path.isAbsolute(url)) url = path.relative('.', url)
src = '//src: ' + url.replace(/\\/g, '/') + '\n' + src
}
Expand Down
1 change: 1 addition & 0 deletions lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@ var compile = (function () {
//#if NODE
// Note: isAbsolute does not exists in node 10.x
if (url && opts.debug) {
/* istanbul ignore if */
if (path.isAbsolute(url)) url = path.relative('.', url)
src = '//src: ' + url.replace(/\\/g, '/') + '\n' + src
}
Expand Down

0 comments on commit 4ea426b

Please sign in to comment.