Skip to content

Commit

Permalink
run prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
tatomyr committed Dec 13, 2023
1 parent 386e796 commit 72f56ff
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions packages/core/src/config/load.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,13 @@ export function findConfig(dir?: string): string | undefined {
return existingConfigFiles[0];
}

export async function getConfig(options: {
configPath?: string;
processRawConfig?: RawConfigProcessor;
externalRefResolver?: BaseResolver;
} = {}): Promise<RawConfig> {
export async function getConfig(
options: {
configPath?: string;
processRawConfig?: RawConfigProcessor;
externalRefResolver?: BaseResolver;
} = {}
): Promise<RawConfig> {
const { configPath = findConfig(), processRawConfig, externalRefResolver } = options;
if (!configPath || !doesYamlFileExist(configPath)) return {};
try {
Expand Down

0 comments on commit 72f56ff

Please sign in to comment.