Husky Installation
This commit is contained in:
@@ -8,7 +8,7 @@ const versionFilePath = path.join(__dirname, "../config/appVersion.js");
|
|||||||
let content = fs.readFileSync(versionFilePath, "utf8");
|
let content = fs.readFileSync(versionFilePath, "utf8");
|
||||||
|
|
||||||
// Version auslesen
|
// Version auslesen
|
||||||
const versionRegex = /APP_VERSION = "(\d+)\.(\d+)\.(\d+)"/;
|
const versionRegex = /export const APP_VERSION = "(\d+)\.(\d+)\.(\d+)"/;
|
||||||
const match = content.match(versionRegex);
|
const match = content.match(versionRegex);
|
||||||
|
|
||||||
if (!match) {
|
if (!match) {
|
||||||
|
|||||||
Reference in New Issue
Block a user