Skip to content

Commit 29eca25

Browse files
committed
fix(theme): search themes in current working dir
1 parent b8dcc98 commit 29eca25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/load-themes.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const findThemesInNodeModules = async (theme = '*', nodeModulesDir: string) =>
2727

2828
export const loadThemes = async (theme?: string) => {
2929
const themeSearchDir = await escalade(
30-
__dirname,
30+
process.cwd(),
3131
(_dir, names) => names.includes('node_modules') && '.',
3232
)
3333

0 commit comments

Comments
 (0)