Skip to content

Commit

Permalink
feat: indent missing config lookup paths (#1040)
Browse files Browse the repository at this point in the history
  • Loading branch information
idoros authored Jun 5, 2024
1 parent a5a3d22 commit 33b36dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ async function loadConfigFile(configBasePath: string | null, suffixes: string[])
}
}

const lookupPaths = suffixes.map((suffix) => configBasePath + '.' + suffix).join('\n');
const lookupPaths = suffixes.map((suffix) => `\t${configBasePath}.${suffix}`).join('\n');
console.warn(new Error(`Failed to load Stylable config from\n${lookupPaths}falling back to default config.\n`));

return {};
Expand Down

0 comments on commit 33b36dd

Please sign in to comment.