Skip to content

Commit

Permalink
chore: remove obsolete replacements from synth.py (#282)
Browse files Browse the repository at this point in the history
No docs, no replacements needed.

```
2020-03-05 14:27:48,958 synthtool > No replacements made in src/v1/doc/google/cloud/iot/v1/doc_resources.js for pattern \[RFC(.*)\]\(https:\/\/cloud\.google\.com, maybe replacement is no longer needed?
2020-03-05 14:27:49,016 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:27:49,035 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 c73186a commit 8824995
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions packages/google-cloud-iot/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,6 @@
"\[RFC(.*)\]\(https:\/\/cloud\.google\.com",
r"[RFC\1](")

# [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)')

# [END fix-dead-link]
# Node.js specific cleanup
subprocess.run(['npm', 'install'])
subprocess.run(['npm', 'run', 'fix'])
Expand Down

0 comments on commit 8824995

Please sign in to comment.