From 8a337893daa3f2b8b4ba448dd9bce734efbde05e Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 16 May 2018 12:39:11 -0400 Subject: [PATCH] not implemented errors --- src/services/nodePlatformUtils.service.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/services/nodePlatformUtils.service.ts b/src/services/nodePlatformUtils.service.ts index 522fe2681b..5bfbd4d415 100644 --- a/src/services/nodePlatformUtils.service.ts +++ b/src/services/nodePlatformUtils.service.ts @@ -82,11 +82,11 @@ export class NodePlatformUtilsService implements PlatformUtilsService { } launchUri(uri: string, options?: any): void { - // TODO + throw new Error('Not implemented.'); } saveFile(win: Window, blobData: any, blobOptions: any, fileName: string): void { - // TODO + throw new Error('Not implemented.'); } getApplicationVersion(): string { @@ -99,9 +99,7 @@ export class NodePlatformUtilsService implements PlatformUtilsService { showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string): Promise { - process.stdout.write(title + '\n'); - process.stdout.write(text); - return Promise.resolve(true); + throw new Error('Not implemented.'); } isDev(): boolean { @@ -109,6 +107,6 @@ export class NodePlatformUtilsService implements PlatformUtilsService { } copyToClipboard(text: string, options?: any): void { - // TODO? + throw new Error('Not implemented.'); } }