Skip to content

Commit fd8d4b0

Browse files
committed
Update grammars
1 parent 83baef5 commit fd8d4b0

File tree

14 files changed

+744
-253
lines changed

14 files changed

+744
-253
lines changed

build/npm/update-all-grammars.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ extensions.forEach(extension => updateGrammar(`extensions/${extension}`));
3939
// run integration tests
4040

4141
if (process.platform === 'win32') {
42-
cp.spawn('.\scripts\test-integration.bat', [], { env: process.env, stdio: 'inherit' });
42+
cp.spawn('.\\scripts\\test-integration.bat', [], { env: process.env, stdio: 'inherit' });
4343
} else {
4444
cp.spawn('/bin/bash', ['./scripts/test-integration.sh'], { env: process.env, stdio: 'inherit' });
4545
}

build/npm/update-grammar.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ exports.update = function (repoId, repoPath, dest, modifyGrammar, version = 'mas
119119
}
120120

121121
try {
122-
fs.writeFileSync(dest, JSON.stringify(result, null, '\t'));
122+
fs.writeFileSync(dest, JSON.stringify(result, null, '\t').replace(/\n/g, '\r\n'));
123123
if (info) {
124124
console.log('Updated ' + path.basename(dest) + ' to ' + repoId + '@' + info.commitSha.substr(0, 7) + ' (' + info.commitDate.substr(0, 10) + ')');
125125
} else {

0 commit comments

Comments
 (0)