snapshot before merge
This commit is contained in:
1 parent
06a5f3da4d
commit
671871e0b2
145 files changed
+9786
-59
No files matched your search
@@ -0,0 +1,12 @@
|
||||
with open(r"E:\GitHub\blog\bot-go\cmd\writebot\main.go", "r", encoding="utf-8", errors="replace") as f:
|
||||
content = f.read()
|
||||
|
||||
# Fix the import block formatting
|
||||
content = content.replace('"writebot/internal/writeserver"\n\t"write-server/pkg/posts"\n\n)', '"writebot/internal/writeserver"\n\t"write-server/pkg/posts"\n)')
|
||||
|
||||
# Fix the weird indentation on "os"
|
||||
content = content.replace('\t\t"os"', '\t"os"')
|
||||
|
||||
with open(r"E:\GitHub\blog\bot-go\cmd\writebot\main.go", "w", encoding="utf-8", errors="replace") as f:
|
||||
f.write(content)
|
||||
print("Fixed formatting")
|
||||
Reference in new issue
Block a user