Skip to content

Commit

Permalink
fix(#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
jannis-baum committed Jul 26, 2024
1 parent 7549f3a commit b253cca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/parser/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ const getConfig = (): Config => {
} catch {}
}

if (config === undefined) return defaultConfig;
// revert to default config if no config found
config = config ?? defaultConfig;

// get styles, scripts and ignore files
config.styles = getFileContents(config.styles);
Expand Down

0 comments on commit b253cca

Please sign in to comment.