kopia lustrzana https://github.com/c9/core
normalize windows newlines in architect build
rodzic
f790a5fcad
commit
2ebc666d85
|
@ -113,6 +113,7 @@ module.exports = function(mains, opts) {
|
|||
}
|
||||
|
||||
function setModuleSource(mod, src, cb) {
|
||||
src = src.replace(/\r\n/g, "\n"); // normalize windows newlines
|
||||
if (cache)
|
||||
cache.files[mod.file] = src;
|
||||
mod.source = src;
|
||||
|
|
Ładowanie…
Reference in New Issue