forgot write mode
Francesco Pasa 1 month ago
Francesco Pasa 1 month ago
ci M +2 -2
7 with open("test.txt") as file:
8 print(file.read())
9
10- with open("dist/gen.txt") as file:
11+ with open("dist/gen.txt", "w") as file:
12 file.write("I am generated by the CI script!\n")
13
14- with open("public/gen.txt") as file:
15+ with open("public/gen.txt", "w") as file:
16 file.write("Mee tooo!!!\n")
17
18