Skip to content

Commit f114f9f

Browse files
committed
minor fix
1 parent 7572686 commit f114f9f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

codes/sync.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def __init__(self):
3636

3737
newpaths: list[str] = []
3838
for path in new:
39-
if path not in oldpaths:
39+
if path not in oldpaths and 'target' not in path:
4040
newpaths.append(path)
4141

4242
print("\nNew Paths:")
@@ -57,6 +57,7 @@ def __init__(self):
5757
for i in range(len(mod)):
5858
if mod[i].endswith('.rs'):
5959
modified.append(mod[i])
60+
print("Modified Rust Files:", modified)
6061
except subprocess.CalledProcessError:
6162
print("Error Checking last commit.")
6263
sys.exit(1)

0 commit comments

Comments
 (0)