Fix typo of git_bin

This commit is contained in:
SrGooglo 2024-04-03 07:07:50 +02:00
parent 3e7f9963e9
commit 1c6f871de0
3 changed files with 3 additions and 3 deletions

View File

@ -14,7 +14,7 @@ export default async (pkg, step) => {
const Log = Logger.child({ service: `GIT|${pkg.id}` }) 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)) const final_path = upath.normalizeSafe(path.resolve(pkg.install_path, step.path))
if (!fs.existsSync(final_path)) { if (!fs.existsSync(final_path)) {

View File

@ -13,7 +13,7 @@ export default async (pkg, step) => {
const Log = Logger.child({ service: `GIT|${pkg.id}` }) 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 _path = path.resolve(pkg.install_path, step.path)
global._relic_eventBus.emit(`pkg:update:state`, { global._relic_eventBus.emit(`pkg:update:state`, {

View File

@ -14,7 +14,7 @@ export default async (pkg, step) => {
const Log = Logger.child({ service: `GIT|${pkg.id}` }) 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 _path = path.resolve(pkg.install_path, step.path)
const from = step.from ?? "HEAD" const from = step.from ?? "HEAD"