disabled linter errors.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta
2020-07-22 11:54:20 +02:00
parent e1f74d94a7
commit e95f00466f
2 changed files with 3 additions and 1 deletions

View File

@@ -288,7 +288,8 @@ export namespace Programmer {
}
export function toString({ id, platform }: Programmer): string {
const [vendor,] = platform.split('@');
// tslint:disable-next-line: whitespace
const [vendor,] = platform.split(':');
if (!vendor) {
throw new Error(`Could not extract vendor from platform: '${platform}'.`);
}