mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
chore: recover format
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import gitRevSync from 'git-rev-sync';
|
||||
|
||||
let gitHash = process.env.HEROKU_SLUG_COMMIT?.slice(0, 7) || process.env.VERCEL_GIT_COMMIT_SHA?.slice(0, 7)
|
||||
let gitHash = process.env.HEROKU_SLUG_COMMIT?.slice(0, 7) || process.env.VERCEL_GIT_COMMIT_SHA?.slice(0, 7);
|
||||
if (!gitHash) {
|
||||
try {
|
||||
gitHash = gitRevSync.short();
|
||||
|
||||
Reference in New Issue
Block a user