Skip to content

Commit

Permalink
Merge pull request #61 from Ilya-dobri/main
Browse files Browse the repository at this point in the history
change the logic in the version check
  • Loading branch information
grandmotivator authored Nov 17, 2024
2 parents 25786a9 + b972e99 commit 69a8ae1
Show file tree
Hide file tree
Showing 6 changed files with 63 additions and 113 deletions.
8 changes: 5 additions & 3 deletions getCommitHash.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { execSync } from "child_process";
import { execSync } from 'child_process';

const getCommitHash = () => {
return execSync("git rev-parse --short HEAD").toString().trim();
return execSync('git rev-parse --short HEAD').toString().trim();
};
export default getCommitHash;

export default getCommitHash;
Loading

0 comments on commit 69a8ae1

Please sign in to comment.