瀏覽代碼

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

Jason Crist 3 年之前
父節點
當前提交
ab7920b504
共有 1 個文件被更改,包括 1 次插入2 次删除
  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 != '';
 }
 
 /*