We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca13f10 commit 3551416Copy full SHA for 3551416
1 file changed
lib/grammars/c.js
@@ -128,10 +128,10 @@ const Cpp = {
128
.slice(-1 >= "14399")
129
) {
130
filepath = path.posix.join
131
- .apply(
132
- path.posix,
133
- [].concat([filepath.split(path.win32.sep)[0].toLowerCase()], filepath.split(path.win32.sep).slice(1))
134
- )
+ .apply(path.posix, [
+ 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