mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-19 15:09:18 +00:00
fix infinite loop due to writing the gradle.kts
This commit is contained in:
@@ -47,7 +47,7 @@ public class ReactiveFolder {
|
|||||||
if (checkCycle % 3 == 0 ? fw.checkModified() : fw.checkModifiedFast()) {
|
if (checkCycle % 3 == 0 ? fw.checkModified() : fw.checkModifiedFast()) {
|
||||||
for (File i : fw.getCreated()) {
|
for (File i : fw.getCreated()) {
|
||||||
if (i.getName().endsWith(".iob") || i.getName().endsWith(".json") || i.getName().endsWith(".kts")) {
|
if (i.getName().endsWith(".iob") || i.getName().endsWith(".json") || i.getName().endsWith(".kts")) {
|
||||||
if (i.getPath().contains(".iris")) {
|
if (i.getPath().contains(".iris") || i.getName().endsWith(".gradle.kts")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@ public class ReactiveFolder {
|
|||||||
|
|
||||||
if (!modified) {
|
if (!modified) {
|
||||||
for (File i : fw.getChanged()) {
|
for (File i : fw.getChanged()) {
|
||||||
if (i.getPath().contains(".iris")) {
|
if (i.getPath().contains(".iris") || i.getName().endsWith(".gradle.kts")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -71,7 +71,7 @@ public class ReactiveFolder {
|
|||||||
|
|
||||||
if (!modified) {
|
if (!modified) {
|
||||||
for (File i : fw.getDeleted()) {
|
for (File i : fw.getDeleted()) {
|
||||||
if (i.getPath().contains(".iris")) {
|
if (i.getPath().contains(".iris") || i.getName().endsWith(".gradle.kts")) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user