Skip to content

Commit f9458e7

Browse files
chore: run fix instead of lint in synthfile (#583)
1 parent 255efb1 commit f9458e7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

packages/google-cloud-speech/synth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@
5151
# Rename the generated methods to avoid confusion.
5252
s.replace(f'src/{version}/{name}_client.ts', r'( +)streamingRecognize\(', '\\1_streamingRecognize(')
5353
s.replace(f'test/gapic_{name}_{version}.ts', r'client\.streamingRecognize\(', 'client._streamingRecognize(')
54-
s.replace(f'src/{version}/{name}_client.ts', r'\Z',
55-
'\n' +
54+
s.replace(f'src/{version}/{name}_client.ts', r'\Z',
55+
'\n' +
5656
"import {ImprovedStreamingClient} from '../helpers';\n" +
5757
'// eslint-disable-next-line @typescript-eslint/no-empty-interface\n' +
5858
'export interface SpeechClient extends ImprovedStreamingClient {}\n'
@@ -65,5 +65,5 @@
6565
# Node.js specific cleanup
6666
#
6767
subprocess.run(['npm', 'install'])
68-
subprocess.run(['npm', 'run', 'lint'])
68+
subprocess.run(['npm', 'run', 'fix'])
6969
subprocess.run(['npx', 'compileProtos', 'src'])

0 commit comments

Comments
 (0)