1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-20 10:13:31 +00:00

[deps] Autofill: Update prettier to v3 (#7014)

* [deps] Autofill: Update prettier to v3

* prettier formatting updates

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jonathan Prusik <jprusik@classynemesis.com>
This commit is contained in:
renovate[bot]
2023-11-29 16:15:20 -05:00
committed by GitHub
parent 4ff5f38e89
commit 28de9439be
1145 changed files with 5898 additions and 5612 deletions

View File

@@ -13,13 +13,13 @@ export class ImportCommand {
constructor(
private importService: ImportServiceAbstraction,
private organizationService: OrganizationService,
private syncService: SyncService
private syncService: SyncService,
) {}
async run(
format: ImportType,
filepath: string,
options: program.OptionValues
options: program.OptionValues,
): Promise<Response> {
const organizationId = options.organizationid;
if (organizationId != null) {
@@ -27,13 +27,13 @@ export class ImportCommand {
if (organization == null) {
return Response.badRequest(
`You do not belong to an organization with the ID of ${organizationId}. Check the organization ID and sync your vault.`
`You do not belong to an organization with the ID of ${organizationId}. Check the organization ID and sync your vault.`,
);
}
if (!organization.canAccessImportExport) {
return Response.badRequest(
"You are not authorized to import into the provided organization."
"You are not authorized to import into the provided organization.",
);
}
}
@@ -58,7 +58,7 @@ export class ImportCommand {
const importer = await this.importService.getImporter(
format,
promptForPassword_callback,
organizationId
organizationId,
);
if (importer === null) {
return Response.badRequest("Proper importer type required.");