about summary refs log tree commit diff
path: root/editors/code/src
diff options
context:
space:
mode:
authorSeivan Heidari <seivan.heidari@icloud.com>2019-10-24 17:59:55 +0200
committerSeivan Heidari <seivan.heidari@icloud.com>2019-10-24 17:59:55 +0200
commite6df4c424ad8a938fca849b8b4511a7e32f8cd17 (patch)
tree1941f2ae47984ef842594f1d84c9c08b4cd9629d /editors/code/src
parent8e63644d6645b3e62ec92199a460cccde91c5482 (diff)
downloadrust-e6df4c424ad8a938fca849b8b4511a7e32f8cd17.tar.gz
rust-e6df4c424ad8a938fca849b8b4511a7e32f8cd17.zip
Fixing linting issues, but also hides failures. Has to be a better approach to error handling.
Diffstat (limited to 'editors/code/src')
-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 c38f6bb5076..a099696a972 100644
--- a/editors/code/src/scopes.ts
+++ b/editors/code/src/scopes.ts
@@ -31,14 +31,14 @@ export function load() {
     const themeName = vscode.workspace.getConfiguration('workbench').get('colorTheme')
 
     if (typeof themeName !== 'string') {
-        console.warn('workbench.colorTheme is', themeName)
+        // console.warn('workbench.colorTheme is', themeName)
         return
     }
     // Try to load colors from that theme
     try {
         loadThemeNamed(themeName)
     } catch (e) {
-        console.warn('failed to load theme', themeName, e)
+        // console.warn('failed to load theme', themeName, e)
     }
 }
 
@@ -130,7 +130,7 @@ function checkFileExists(filePath: string): boolean {
     if (stats && stats.isFile()) {
         return true;
     } else {
-        console.warn('no such file', filePath)
+        // console.warn('no such file', filePath)
         return false;
     }