mirror of
https://github.com/embarklabs/embark-solc.git
synced 2025-02-28 14:30:36 +00:00
fix: fix recursive error on Windows
This commit is contained in:
parent
f07e124a83
commit
3b1f634919
@ -111,7 +111,7 @@ function compileSolc(embark, contractFiles, contractDirectories, options, callba
|
||||
}
|
||||
});
|
||||
|
||||
compilationSettings.sources[file.path] = {
|
||||
compilationSettings.sources[file.path.replace(/\\/g, '/')] = {
|
||||
content: content.replace(/\r\n/g, '\n')
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user