aboutsummaryrefslogtreecommitdiff
path: root/editors/code
diff options
context:
space:
mode:
Diffstat (limited to 'editors/code')
-rw-r--r--editors/code/src/scopes.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/editors/code/src/scopes.ts b/editors/code/src/scopes.ts
index c38f6bb50..a099696a9 100644
--- a/editors/code/src/scopes.ts
+++ b/editors/code/src/scopes.ts
@@ -31,14 +31,14 @@ export function load() {
31 const themeName = vscode.workspace.getConfiguration('workbench').get('colorTheme') 31 const themeName = vscode.workspace.getConfiguration('workbench').get('colorTheme')
32 32
33 if (typeof themeName !== 'string') { 33 if (typeof themeName !== 'string') {
34 console.warn('workbench.colorTheme is', themeName) 34 // console.warn('workbench.colorTheme is', themeName)
35 return 35 return
36 } 36 }
37 // Try to load colors from that theme 37 // Try to load colors from that theme
38 try { 38 try {
39 loadThemeNamed(themeName) 39 loadThemeNamed(themeName)
40 } catch (e) { 40 } catch (e) {
41 console.warn('failed to load theme', themeName, e) 41 // console.warn('failed to load theme', themeName, e)
42 } 42 }
43} 43}
44 44
@@ -130,7 +130,7 @@ function checkFileExists(filePath: string): boolean {
130 if (stats && stats.isFile()) { 130 if (stats && stats.isFile()) {
131 return true; 131 return true;
132 } else { 132 } else {
133 console.warn('no such file', filePath) 133 // console.warn('no such file', filePath)
134 return false; 134 return false;
135 } 135 }
136 136