summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/src/core/logger/core.ts4
-rw-r--r--packages/astro/test/cli.test.js8
-rw-r--r--packages/astro/test/errors.test.js2
-rw-r--r--packages/create-astro/src/logger.ts4
4 files changed, 9 insertions, 9 deletions
diff --git a/packages/astro/src/core/logger/core.ts b/packages/astro/src/core/logger/core.ts
index 46045fd81..5df39816a 100644
--- a/packages/astro/src/core/logger/core.ts
+++ b/packages/astro/src/core/logger/core.ts
@@ -16,10 +16,10 @@ export interface LogOptions {
// Hey, locales are pretty complicated! Be careful modifying this logic...
// If we throw at the top-level, international users can't use Astro.
-//
+//
// Using `[]` sets the default locale properly from the system!
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#parameters
-//
+//
// Here be the dragons we've slain:
// https://github.com/withastro/astro/issues/2625
// https://github.com/withastro/astro/issues/3309
diff --git a/packages/astro/test/cli.test.js b/packages/astro/test/cli.test.js
index 480a530d0..4134ee74d 100644
--- a/packages/astro/test/cli.test.js
+++ b/packages/astro/test/cli.test.js
@@ -118,13 +118,13 @@ describe('astro cli i18n', () => {
const projectRootURL = new URL('./fixtures/astro-basic/', import.meta.url);
let error = null;
try {
- const proc = cli('dev', '--root', fileURLToPath(projectRootURL), { env: { LANG: locale }});
- await parseCliDevStart(proc)
+ const proc = cli('dev', '--root', fileURLToPath(projectRootURL), { env: { LANG: locale } });
+ await parseCliDevStart(proc);
} catch (e) {
console.log(e);
error = e.message;
}
expect(error).to.be.null;
});
- })
-})
+ });
+});
diff --git a/packages/astro/test/errors.test.js b/packages/astro/test/errors.test.js
index 3e09e8ad9..7391d363e 100644
--- a/packages/astro/test/errors.test.js
+++ b/packages/astro/test/errors.test.js
@@ -33,7 +33,7 @@ describe('Error display', () => {
});
});
- describe('Framework components', function() {
+ describe('Framework components', function () {
let devServer;
before(async () => {
diff --git a/packages/create-astro/src/logger.ts b/packages/create-astro/src/logger.ts
index 96965e7ea..80e5bf916 100644
--- a/packages/create-astro/src/logger.ts
+++ b/packages/create-astro/src/logger.ts
@@ -8,10 +8,10 @@ type ConsoleStream = Writable & {
// Hey, locales are pretty complicated! Be careful modifying this logic...
// If we throw at the top-level, international users can't use Astro.
-//
+//
// Using `[]` sets the default locale properly from the system!
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#parameters
-//
+//
// Here be the dragons we've slain:
// https://github.com/withastro/astro/issues/2625
// https://github.com/withastro/astro/issues/3309