Skip to content

Commit c2e16b3

Browse files
florian-lefebvreastrobot-houston
authored andcommitted
[ci] format
1 parent 2eb77d8 commit c2e16b3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/astro/src/vite-plugin-config-alias/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const getConfigAlias = (settings: AstroSettings): Alias[] | null => {
1414
if (!tsConfig || !tsConfigPath || !tsConfig.compilerOptions) return null;
1515

1616
const { baseUrl, paths } = tsConfig.compilerOptions as CompilerOptions;
17-
17+
1818
// If paths exist but baseUrl doesn't, default to "." (tsconfig directory)
1919
const effectiveBaseUrl = baseUrl ?? (paths ? '.' : undefined);
2020
if (!effectiveBaseUrl) return null;

packages/astro/test/alias-tsconfig-no-baseurl.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ describe('Aliases with tsconfig.json without baseUrl', () => {
4545
assert.equal($('h1').text(), 'world');
4646
});
4747
});
48-
});
48+
});

0 commit comments

Comments
 (0)