mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 07:20:45 +00:00
chore: Enable linting in scripts.
This commit is contained in:
@@ -19,7 +19,9 @@ const readPackageVersion = () => {
|
||||
|
||||
const resolveCommit = () => {
|
||||
const envCommit = process.env.GIT_COMMIT?.trim() || process.env.GIT_SHA?.trim();
|
||||
if (envCommit) return envCommit;
|
||||
if (envCommit) {
|
||||
return envCommit;
|
||||
}
|
||||
try {
|
||||
return execSync("git rev-parse HEAD", {
|
||||
cwd: rootDir,
|
||||
|
||||
Reference in New Issue
Block a user