Browse Source

Deploy: Removed the check for uncommitted changes. (#5439)

Jason Crist 3 năm trước cách đây
mục cha
commit
ab7920b504
1 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 1 2
      theme-utils.mjs

+ 1 - 2
theme-utils.mjs

@@ -525,9 +525,8 @@ async function checkProjectForVersionBump(hash){
  Used by versionBumpThemes
 */
 async function checkThemeForChanges(theme, hash){
-	let uncomittedChanges = await executeCommand(`git diff-index --name-only HEAD -- ${theme}`);
 	let comittedChanges = await executeCommand(`git diff --name-only ${hash} HEAD -- ${theme}`);
-	return uncomittedChanges != '' || comittedChanges != '';
+	return comittedChanges != '';
 }
 
 /*