Skip to content

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 authored Apr 15, 2020
1 parent 255efb1 commit f9458e7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/google-cloud-speech/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 f9458e7

Please sign in to comment.