Skip to content

Commit 845c890

Browse files
committed
run prettier
1 parent 9edaf4a commit 845c890

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/lib/internationalization/locales/en.cts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,8 @@ export = {
388388
"hostedBaseUrl must start with http:// or https://",
389389
useHostedBaseUrlForAbsoluteLinks_requires_hostedBaseUrl:
390390
"The useHostedBaseUrlForAbsoluteLinks option requires that hostedBaseUrl be set",
391-
favicon_must_be_ico_or_svg: "Favicon file must be either a .ico, .png or .svg",
391+
favicon_must_be_ico_or_svg:
392+
"Favicon file must be either a .ico, .png or .svg",
392393
option_0_must_be_an_object: "The '{0}' option must be a non-array object",
393394
option_0_must_be_a_function: "The '{0}' option must be a function",
394395
option_0_must_be_object_with_urls: `{0} must be an object with string labels as keys and URL values`,

src/lib/output/plugins/AssetsPlugin.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,10 @@ export class AssetsPlugin extends RendererComponent {
4444
const dest = join(event.outputDirectory, "assets");
4545

4646
if ([".ico", ".png", ".svg"].includes(extname(this.favicon))) {
47-
copySync(this.favicon, join(dest, "favicon" + extname(this.favicon)));
47+
copySync(
48+
this.favicon,
49+
join(dest, "favicon" + extname(this.favicon)),
50+
);
4851
}
4952

5053
if (this.customCss) {

0 commit comments

Comments
 (0)