Skip to content

Commit cb27335

Browse files
author
kongjing
committed
fix: 配置文件获取
1 parent e19f231 commit cb27335

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/doc/config/utils/contanst.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let CONFIG_PATH = join(CWD, './antm.config.ts')
1515

1616
const CONFIG_PATH_JS = join(CWD, './antm.config.js')
1717

18-
if (existsSync(CONFIG_PATH_JS)) {
18+
if (!existsSync(CONFIG_PATH)) {
1919
CONFIG_PATH = CONFIG_PATH_JS
2020
}
2121

0 commit comments

Comments
 (0)