We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3551416 commit c6021ceCopy full SHA for c6021ce
lib/grammars/c.js
@@ -127,11 +127,8 @@ const Cpp = {
127
.split(".")
128
.slice(-1 >= "14399")
129
) {
130
- filepath = path.posix.join
131
- .apply(path.posix, [
132
- filepath.split(path.win32.sep)[0].toLowerCase(),
133
- ...filepath.split(path.win32.sep).slice(1),
134
- ])
+ filepath = path.posix
+ .join(...[filepath.split(path.win32.sep)[0].toLowerCase(), ...filepath.split(path.win32.sep).slice(1)])
135
.replace(":", "")
136
cmdArgs = `g++ -std=c++14 ${options} -include iostream /mnt/${filepath} -o /tmp/cpp.out && /tmp/cpp.out`
137
}
0 commit comments