mirror of
https://github.com/geekgeekrun/geekgeekrun.git
synced 2026-05-11 18:09:50 +08:00
try to fix wrong ci script - file is not exist
This commit is contained in:
@@ -6,8 +6,8 @@ import semver from 'semver'
|
||||
|
||||
const __dirname = url.fileURLToPath(new URL('.', import.meta.url))
|
||||
|
||||
export const PATH_TO_PACKAGE_JSON = path.join(__dirname, '../package.json')
|
||||
export const PATH_TO_BUILD_INFO_JSON = path.join(__dirname, '../src/common/build-info.json')
|
||||
export const PATH_TO_PACKAGE_JSON = path.join(__dirname, '../../package.json')
|
||||
export const PATH_TO_BUILD_INFO_JSON = path.join(__dirname, '../../src/common/build-info.json')
|
||||
|
||||
export const getPackageInfo = () => fs.readFileSync(PATH_TO_PACKAGE_JSON)
|
||||
export const getRuntimeConfig = () => fs.readFileSync(PATH_TO_BUILD_INFO_JSON)
|
||||
|
||||
Reference in New Issue
Block a user