1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

not implemented errors

This commit is contained in:
Kyle Spearrin
2018-05-16 12:39:11 -04:00
parent e77bcd6c5e
commit 8a337893da

View File

@@ -82,11 +82,11 @@ export class NodePlatformUtilsService implements PlatformUtilsService {
} }
launchUri(uri: string, options?: any): void { launchUri(uri: string, options?: any): void {
// TODO throw new Error('Not implemented.');
} }
saveFile(win: Window, blobData: any, blobOptions: any, fileName: string): void { saveFile(win: Window, blobData: any, blobOptions: any, fileName: string): void {
// TODO throw new Error('Not implemented.');
} }
getApplicationVersion(): string { getApplicationVersion(): string {
@@ -99,9 +99,7 @@ export class NodePlatformUtilsService implements PlatformUtilsService {
showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string): showDialog(text: string, title?: string, confirmText?: string, cancelText?: string, type?: string):
Promise<boolean> { Promise<boolean> {
process.stdout.write(title + '\n'); throw new Error('Not implemented.');
process.stdout.write(text);
return Promise.resolve(true);
} }
isDev(): boolean { isDev(): boolean {
@@ -109,6 +107,6 @@ export class NodePlatformUtilsService implements PlatformUtilsService {
} }
copyToClipboard(text: string, options?: any): void { copyToClipboard(text: string, options?: any): void {
// TODO? throw new Error('Not implemented.');
} }
} }