Seti uses TS-icon for jsonc-language. Fixes #78261

This commit is contained in:
Martin Aeschlimann 2019-08-16 18:08:16 +02:00
parent 265dba5598
commit ae42e42cf1
3 changed files with 13 additions and 5 deletions

View file

@ -32,7 +32,8 @@ let nonBuiltInLanguages = { // { fileNames, extensions }
"haml": { extensions: ['haml'] },
"stylus": { extensions: ['styl'] },
"vala": { extensions: ['vala'] },
"todo": { fileNames: ['todo'] }
"todo": { fileNames: ['todo'] },
"jsonc": { extensions: ['json'] }
};
let FROM_DISK = true; // set to true to take content from a repo checked out next to the vscode repo
@ -109,7 +110,7 @@ function downloadBinary(source, dest) {
return new Promise((c, e) => {
https.get(source, function (response) {
switch (response.statusCode) {
case 200:
case 200: {
let file = fs.createWriteStream(dest);
response.on('data', function (chunk) {
file.write(chunk);
@ -121,6 +122,7 @@ function downloadBinary(source, dest) {
e(err.message);
});
break;
}
case 301:
case 302:
case 303:

View file

@ -6,7 +6,7 @@
"git": {
"name": "seti-ui",
"repositoryUrl": "https://github.com/jesseweed/seti-ui",
"commitHash": "904c16acced1134a81b31d71d60293288c31334b"
"commitHash": "85a222708824c6f19bbecbec71633d2c97077dad"
}
},
"version": "0.1.0"

View file

@ -1564,6 +1564,7 @@
"version.md": "_clock",
"version": "_clock",
"mvnw": "_maven",
"tsconfig.json": "_tsconfig",
"swagger.json": "_json_1",
"swagger.yml": "_json_1",
"swagger.yaml": "_json_1",
@ -1573,6 +1574,8 @@
"docker-healthcheck": "_docker_2",
"docker-compose.yml": "_docker_3",
"docker-compose.yaml": "_docker_3",
"docker-compose.override.yml": "_docker_3",
"docker-compose.override.yaml": "_docker_3",
"firebase.json": "_firebase",
"geckodriver": "_firefox",
"gruntfile.js": "_grunt",
@ -1940,6 +1943,7 @@
"version.md": "_clock_light",
"version": "_clock_light",
"mvnw": "_maven_light",
"tsconfig.json": "_tsconfig_light",
"swagger.json": "_json_1_light",
"swagger.yml": "_json_1_light",
"swagger.yaml": "_json_1_light",
@ -1949,6 +1953,8 @@
"docker-healthcheck": "_docker_2_light",
"docker-compose.yml": "_docker_3_light",
"docker-compose.yaml": "_docker_3_light",
"docker-compose.override.yml": "_docker_3_light",
"docker-compose.override.yaml": "_docker_3_light",
"firebase.json": "_firebase_light",
"geckodriver": "_firefox_light",
"gruntfile.js": "_grunt_light",
@ -1980,5 +1986,5 @@
"npm-debug.log": "_npm_ignored_light"
}
},
"version": "https://github.com/jesseweed/seti-ui/commit/904c16acced1134a81b31d71d60293288c31334b"
}
"version": "https://github.com/jesseweed/seti-ui/commit/85a222708824c6f19bbecbec71633d2c97077dad"
}