Browse Source

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

Jason Crist 3 years ago
parent
commit
ab7920b504
1 changed files with 1 additions and 2 deletions
  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 != '';
 }
 
 /*