Skip to content
This repository has been archived by the owner on Feb 18, 2024. It is now read-only.

Commit

Permalink
chore: run fix instead of lint in synthfile (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith committed Apr 15, 2020
1 parent 2bf2b7d commit 4abdb5c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@
# Rename the generated methods to avoid confusion.
s.replace(f'src/{version}/{name}_client.ts', r'( +)streamingRecognize\(', '\\1_streamingRecognize(')
s.replace(f'test/gapic_{name}_{version}.ts', r'client\.streamingRecognize\(', 'client._streamingRecognize(')
s.replace(f'src/{version}/{name}_client.ts', r'\Z',
'\n' +
s.replace(f'src/{version}/{name}_client.ts', r'\Z',
'\n' +
"import {ImprovedStreamingClient} from '../helpers';\n" +
'// eslint-disable-next-line @typescript-eslint/no-empty-interface\n' +
'export interface SpeechClient extends ImprovedStreamingClient {}\n'
Expand All @@ -65,5 +65,5 @@
# Node.js specific cleanup
#
subprocess.run(['npm', 'install'])
subprocess.run(['npm', 'run', 'lint'])
subprocess.run(['npm', 'run', 'fix'])
subprocess.run(['npx', 'compileProtos', 'src'])

0 comments on commit 4abdb5c

Please sign in to comment.