1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-27 23:31:41 +02: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 {
// 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<boolean> {
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.');
}
}