提交 ae42e42c 编写于 作者: M Martin Aeschlimann

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

上级 265dba55
......@@ -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:
......
......@@ -6,7 +6,7 @@
"git": {
"name": "seti-ui",
"repositoryUrl": "https://github.com/jesseweed/seti-ui",
"commitHash": "904c16acced1134a81b31d71d60293288c31334b"
"commitHash": "85a222708824c6f19bbecbec71633d2c97077dad"
}
},
"version": "0.1.0"
......
......@@ -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"
}
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册