diff: indlude composer changes

This commit is contained in:
Yuri Kuznetsov
2021-06-26 19:13:54 +03:00
parent 03f3e4595e
commit 428f8a68bf

View File

@@ -681,10 +681,14 @@ class Diff
}
let composerLockOldContents = cp.execSync("git show " + commitHash + ":composer.lock").toString();
let composerOldContents = cp.execSync("git show " + commitHash + ":composer.json").toString();
let composerLockNewContents = cp.execSync("cat " + currentPath + "/composer.lock").toString();
let composerNewContents = cp.execSync("cat " + currentPath + "/composer.json").toString();
if (composerLockNewContents === composerLockOldContents) {
if (
composerLockNewContents === composerLockOldContents &&
composerOldContents === composerNewContents
) {
return;
}