Skip to content

Commit b8ab704

Browse files
authored
Merge pull request #503 from tokuhirom/remove-ts_post_process_file
TS_POST_PROCESS_FILE is extremely slow.
2 parents ab54bdb + 598143e commit b8ab704

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

generate-code.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,8 @@
44

55

66
def run_command(command):
7-
env = os.environ.copy()
8-
env['TS_POST_PROCESS_FILE'] = 'npx prettier --write'
9-
107
print(command)
11-
proc = subprocess.run(command, shell=True, text=True, capture_output=True, env=env)
8+
proc = subprocess.run(command, shell=True, text=True, capture_output=True)
129

1310
if len(proc.stdout) != 0:
1411
print("\n\nSTDOUT:\n\n")
@@ -87,6 +84,8 @@ def main():
8784
generate_clients()
8885
generate_webhook()
8986

87+
run_command('npm run format')
88+
9089

9190
if __name__ == "__main__":
9291
main()

0 commit comments

Comments
 (0)