Skip to content

Commit

Permalink
Seti uses TS-icon for jsonc-language. Fixes #78261
Browse files Browse the repository at this point in the history
  • Loading branch information
aeschli committed Aug 16, 2019
1 parent 265dba5 commit ae42e42
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
6 changes: 4 additions & 2 deletions extensions/theme-seti/build/update-icon-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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);
Expand All @@ -121,6 +122,7 @@ function downloadBinary(source, dest) {
e(err.message);
});
break;
}
case 301:
case 302:
case 303:
Expand Down
2 changes: 1 addition & 1 deletion extensions/theme-seti/cgmanifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"git": {
"name": "seti-ui",
"repositoryUrl": "https://github.com/jesseweed/seti-ui",
"commitHash": "904c16acced1134a81b31d71d60293288c31334b"
"commitHash": "85a222708824c6f19bbecbec71633d2c97077dad"
}
},
"version": "0.1.0"
Expand Down
10 changes: 8 additions & 2 deletions extensions/theme-seti/icons/vs-seti-icon-theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down Expand Up @@ -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"
}

0 comments on commit ae42e42

Please sign in to comment.