提交 2004035f 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

fix pkg-up with cwd

上级 6ec7831c
......@@ -22,7 +22,7 @@ import * as path from 'path'
import * as readPkgUp from 'read-pkg-up'
const pkg = readPkgUp.sync().pkg
const pkg = readPkgUp.sync({ cwd: __dirname }).pkg
export const VERSION = pkg.version
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册