Skip to content

Commit

Permalink
feat: indent missing config lookup paths
Browse files Browse the repository at this point in the history
  • Loading branch information
idoros committed Jun 5, 2024
1 parent 9bedce9 commit 420fe5f
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 420fe5f

Please sign in to comment.