diff options
author | 2021-04-01 10:25:28 -0600 | |
---|---|---|
committer | 2021-04-01 10:25:28 -0600 | |
commit | c26c244ca2634d462616d6cf71072fbe26becba2 (patch) | |
tree | 1bd5e83eff9ca88200aacb272c84439f192015ec /src/config.ts | |
parent | f6a7ac67befff863e34133673efb78ea7ac0fe48 (diff) | |
download | astro-c26c244ca2634d462616d6cf71072fbe26becba2.tar.gz astro-c26c244ca2634d462616d6cf71072fbe26becba2.tar.zst astro-c26c244ca2634d462616d6cf71072fbe26becba2.zip |
Annoying Lint PR #2 (#47)
Diffstat (limited to 'src/config.ts')
-rw-r--r-- | src/config.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/config.ts b/src/config.ts index 96c4e92d4..72583df5a 100644 --- a/src/config.ts +++ b/src/config.ts @@ -2,6 +2,7 @@ import type { AstroConfig } from './@types/astro'; import { join as pathJoin, resolve as pathResolve } from 'path'; import { existsSync } from 'fs'; +/** Attempt to load an `astro.config.mjs` file */ export async function loadConfig(rawRoot: string | undefined): Promise<AstroConfig | undefined> { if (typeof rawRoot === 'undefined') { rawRoot = process.cwd(); |