normalize windows newlines in architect build

pull/290/head
nightwing 2016-04-20 12:20:58 +00:00
rodzic f790a5fcad
commit 2ebc666d85
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

@ -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;