mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-19 09:33:53 +00:00
Remove the "local modifications" string from bug and about reports. (#5552)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user