chore: Enable linting in scripts.

This commit is contained in:
cpojer
2026-01-31 21:29:14 +09:00
parent 0ffc251704
commit 1838ab019b
21 changed files with 314 additions and 124 deletions

View File

@@ -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,