Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
chore: remove obsolete replacements from synth.py (#369)
Browse files Browse the repository at this point in the history
```
2020-03-05 14:41:53,669 synthtool > No replacements made in **/doc/google/protobuf/doc_timestamp.js for pattern https:\/\/cloud\.google\.com[\s\*]*http:\/\/(.*)[\s\*]*\), maybe replacement is no longer needed?
2020-03-05 14:41:53,686 synthtool > No replacements made in **/doc/google/protobuf/doc_timestamp.js for pattern toISOString\], maybe replacement is no longer needed?
```
  • Loading branch information
alexander-fenster authored Mar 5, 2020
1 parent 14eb1e6 commit 5f42fc7
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,12 @@
templates = common_templates.node_library(source_location='build/src')
s.copy(templates)

# [START fix-dead-link]
s.replace('**/doc/google/protobuf/doc_timestamp.js',
'https:\/\/cloud\.google\.com[\s\*]*http:\/\/(.*)[\s\*]*\)',
r"https://\1)")

s.replace('**/doc/google/protobuf/doc_timestamp.js',
'toISOString\]',
'toISOString)')
s.replace('**/src/**/cloud_tasks_client_config.json',
'"initial_rpc_timeout_millis": 60000',
'"initial_rpc_timeout_millis": 20000')
s.replace('**/src/**/cloud_tasks_client_config.json',
'"max_rpc_timeout_millis": 60000',
'"max_rpc_timeout_millis": 20000')
# [END fix-dead-link]

# Node.js specific cleanup
subprocess.run(["npm", "install"])
Expand Down

0 comments on commit 5f42fc7

Please sign in to comment.