mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 00:33:44 +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:
@@ -18,7 +18,7 @@ export class SendCreateCommand {
|
||||
private sendService: SendService,
|
||||
private stateService: StateService,
|
||||
private environmentService: EnvironmentService,
|
||||
private sendApiService: SendApiService
|
||||
private sendApiService: SendApiService,
|
||||
) {}
|
||||
|
||||
async run(requestJson: any, cmdOptions: Record<string, any>) {
|
||||
@@ -78,7 +78,7 @@ export class SendCreateCommand {
|
||||
case SendType.File:
|
||||
if (process.env.BW_SERVE === "true") {
|
||||
return Response.error(
|
||||
"Creating a file-based Send is unsupported through the `serve` command at this time."
|
||||
"Creating a file-based Send is unsupported through the `serve` command at this time.",
|
||||
);
|
||||
}
|
||||
|
||||
@@ -88,7 +88,7 @@ export class SendCreateCommand {
|
||||
|
||||
if (filePath == null) {
|
||||
return Response.badRequest(
|
||||
"Must specify a file to Send either with the --file option or in the request JSON."
|
||||
"Must specify a file to Send either with the --file option or in the request JSON.",
|
||||
);
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@ export class SendCreateCommand {
|
||||
case SendType.Text:
|
||||
if (text == null) {
|
||||
return Response.badRequest(
|
||||
"Must specify text content to Send either with the --text option or in the request JSON."
|
||||
"Must specify text content to Send either with the --text option or in the request JSON.",
|
||||
);
|
||||
}
|
||||
req.text = new SendTextResponse();
|
||||
@@ -106,7 +106,7 @@ export class SendCreateCommand {
|
||||
break;
|
||||
default:
|
||||
return Response.badRequest(
|
||||
"Unknown Send type " + SendType[req.type] + ". Valid types are: file, text"
|
||||
"Unknown Send type " + SendType[req.type] + ". Valid types are: file, text",
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user