summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar FredKSchott <FredKSchott@users.noreply.github.com> 2021-08-05 18:27:51 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-08-05 18:27:51 +0000
commit2ad2ccdc50478bd142bed564c66aa44587b88cc2 (patch)
tree015ac0a5e8b1d77a218e0ef00ff3ac720eb673cd
parent6ec7968d127959e73f5635594b191b520734b5c6 (diff)
downloadastro-2ad2ccdc50478bd142bed564c66aa44587b88cc2.tar.gz
astro-2ad2ccdc50478bd142bed564c66aa44587b88cc2.tar.zst
astro-2ad2ccdc50478bd142bed564c66aa44587b88cc2.zip
[ci] yarn format
-rwxr-xr-xpackages/astro/astro.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/astro.js b/packages/astro/astro.js
index 5bc54e4a4..fe6bc8cba 100755
--- a/packages/astro/astro.js
+++ b/packages/astro/astro.js
@@ -16,7 +16,7 @@ const CI_INTRUCTIONS = {
async function main() {
// Check for ESM support by loading the "supports-esm" in an way that works in both ESM & CJS.
const supportsESM = typeof require !== 'undefined' ? require('supports-esm') : (await import('supports-esm')).default;
-
+
// Supported: load Astro and run. Enjoy!
if (supportsESM) {
return import('./dist/cli.js')
@@ -33,8 +33,8 @@ async function main() {
const semver = require('semver');
const engines = pkg.engines.node;
const version = process.versions.node;
-
- // TODO: Remove "semver" in Astro v1.0: This is mainly just to check our work. Once run in
+
+ // TODO: Remove "semver" in Astro v1.0: This is mainly just to check our work. Once run in
// the wild for a bit without error, we can assume our engine range is correct and won't
// change over time.
const isSupported = semver.satisfies(version, engines);