diff --git a/images/dark/database-import.svg b/images/dark/database-import.svg new file mode 100644 index 00000000..ac96fa1f --- /dev/null +++ b/images/dark/database-import.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/images/light/database-import.svg b/images/light/database-import.svg new file mode 100644 index 00000000..0b2956bb --- /dev/null +++ b/images/light/database-import.svg @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/src/commands/tools/dataImport.ts b/src/commands/tools/dataImport.ts index 64157ec4..4298e0a1 100644 --- a/src/commands/tools/dataImport.ts +++ b/src/commands/tools/dataImport.ts @@ -568,7 +568,6 @@ export class DataImport { if (currentFormat) { this.format = currentFormat; - console.log(currentFormat); logger.info("detected format " + currentFormat); } else { this.format = ""; @@ -780,7 +779,7 @@ export class DataImport { "..", "images", "dark", - "export_dark.svg" + "database-import.svg" ) ), light: vscode.Uri.file( @@ -790,7 +789,7 @@ export class DataImport { "..", "images", "light", - "export_light.svg" + "database-import.svg" ) ), }; diff --git a/src/tools/CBImport.ts b/src/tools/CBImport.ts index f7012921..4295178f 100644 --- a/src/tools/CBImport.ts +++ b/src/tools/CBImport.ts @@ -27,7 +27,7 @@ export class CBImport { if(!connection){ return; } - console.log(importData); + let cmd: string[] | Error; // CMD Builder try { @@ -35,7 +35,6 @@ export class CBImport { if (cmd instanceof Error) { throw cmd; } - console.log(cmd); } catch(err) { logger.error("Error while building command for CB Import, please check values and try again"); logger.debug(err); @@ -47,7 +46,7 @@ export class CBImport { try { const terminal = vscode.window.createTerminal("CBImport"); let text = cmd.join(" "); - console.log(text); + logger.info("CB Import Command to run: "+ text); terminal.sendText(text); terminal.show();