mirror of
https://github.com/ragestudio/relic.git
synced 2025-06-09 02:24:18 +00:00
Fix typo of git_bin
This commit is contained in:
parent
3e7f9963e9
commit
1c6f871de0
@ -14,7 +14,7 @@ export default async (pkg, step) => {
|
||||
|
||||
const Log = Logger.child({ service: `GIT|${pkg.id}` })
|
||||
|
||||
const gitCMD = fs.existsSync(Vars.git_path) ? `${Vars.git_path}` : "git"
|
||||
const gitCMD = fs.existsSync(Vars.git_bin) ? `${Vars.git_bin}` : "git"
|
||||
const final_path = upath.normalizeSafe(path.resolve(pkg.install_path, step.path))
|
||||
|
||||
if (!fs.existsSync(final_path)) {
|
||||
|
@ -13,7 +13,7 @@ export default async (pkg, step) => {
|
||||
|
||||
const Log = Logger.child({ service: `GIT|${pkg.id}` })
|
||||
|
||||
const gitCMD = fs.existsSync(Vars.git_path) ? `${Vars.git_path}` : "git"
|
||||
const gitCMD = fs.existsSync(Vars.git_bin) ? `${Vars.git_bin}` : "git"
|
||||
const _path = path.resolve(pkg.install_path, step.path)
|
||||
|
||||
global._relic_eventBus.emit(`pkg:update:state`, {
|
||||
|
@ -14,7 +14,7 @@ export default async (pkg, step) => {
|
||||
|
||||
const Log = Logger.child({ service: `GIT|${pkg.id}` })
|
||||
|
||||
const gitCMD = fs.existsSync(Vars.git_path) ? `${Vars.git_path}` : "git"
|
||||
const gitCMD = fs.existsSync(Vars.git_bin) ? `${Vars.git_bin}` : "git"
|
||||
|
||||
const _path = path.resolve(pkg.install_path, step.path)
|
||||
const from = step.from ?? "HEAD"
|
||||
|
Loading…
x
Reference in New Issue
Block a user