Skip to content

Commit

Permalink
fix(theme): search themes in current working dir
Browse files Browse the repository at this point in the history
  • Loading branch information
rbardini committed Nov 14, 2021
1 parent b8dcc98 commit 29eca25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/load-themes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const findThemesInNodeModules = async (theme = '*', nodeModulesDir: string) =>

export const loadThemes = async (theme?: string) => {
const themeSearchDir = await escalade(
__dirname,
process.cwd(),
(_dir, names) => names.includes('node_modules') && '.',
)

Expand Down

0 comments on commit 29eca25

Please sign in to comment.