|
@@ -85,8 +85,9 @@ function checkEditFileRep(inPath)
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
try {
|
|
try {
|
|
|
|
|
+ // `git -C "${inPath}" status --porcelain`,
|
|
|
const output = child_process.execSync(
|
|
const output = child_process.execSync(
|
|
|
- `git -C "${inPath}" status --porcelain`,
|
|
|
|
|
|
|
+ `git -C "${inPath}" diff --name-only`,
|
|
|
{ encoding: 'utf-8' }
|
|
{ encoding: 'utf-8' }
|
|
|
);
|
|
);
|
|
|
if(output.trim().length > 0)
|
|
if(output.trim().length > 0)
|