Remove the "local modifications" string from bug and about reports. (#5552)
This commit is contained in:
parent
11ecf6fc86
commit
49001a0f83
|
@ -39,12 +39,6 @@ try {
|
||||||
}).trim();
|
}).trim();
|
||||||
if (gitHash) {
|
if (gitHash) {
|
||||||
gitCommitInfo = gitHash;
|
gitCommitInfo = gitHash;
|
||||||
const gitStatus = execSync('git status --porcelain', {
|
|
||||||
encoding: 'utf-8',
|
|
||||||
}).trim();
|
|
||||||
if (gitStatus) {
|
|
||||||
gitCommitInfo = `${gitHash} (local modifications)`;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
} catch {
|
} catch {
|
||||||
// ignore
|
// ignore
|
||||||
|
|
Loading…
Reference in New Issue