Trim server name (#1308)

* add warning for trimming of the servername and trim the servername before connection

* move the location of the trim

* move it back to simplify tests
This commit is contained in:
Anthony Dresser
2018-05-02 10:16:05 -07:00
committed by GitHub
parent e82b7615b3
commit 31ac8d6acc
3 changed files with 27 additions and 13 deletions

View File

@@ -364,7 +364,8 @@ export class InputBox extends Widget {
}
}
return !result;
// {{SQL CARBON EDIT}} Canidate for addition to vscode
return result ? result.type !== MessageType.ERROR : true;
}
private stylesForType(type: MessageType): { border: Color; background: Color } {