public
/
UglifyJS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa5dd15
)
Fix backslashes in source-map paths on Windows
author
Derek Wickern
<dwickern@s4isystems.com>
Thu, 23 Oct 2014 23:27:53 +0000
(16:27 -0700)
committer
Richard van Velzen
<rvanvelzen1@gmail.com>
Sun, 4 Jan 2015 18:08:19 +0000
(19:08 +0100)
bin/uglifyjs
patch
|
blob
|
history
diff --git
a/bin/uglifyjs
b/bin/uglifyjs
index
bade20c
..
a177cb6
100755
(executable)
--- a/
bin/uglifyjs
+++ b/
bin/uglifyjs
@@
-252,7
+252,7
@@
async.eachLimit(files, 1, function (file, cb) {
}
if (ARGS.p != null) {
if (P_RELATIVE) {
- file = path.relative(path.dirname(ARGS.source_map), file);
+ file = path.relative(path.dirname(ARGS.source_map), file)
.replace(/\\/g, '/')
;
} else {
var p = parseInt(ARGS.p, 10);
if (!isNaN(p)) {