File tree Expand file tree Collapse file tree
packages/google-cloud-speech Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 '
6565# Node.js specific cleanup
6666#
6767subprocess .run (['npm' , 'install' ])
68- subprocess .run (['npm' , 'run' , 'lint ' ])
68+ subprocess .run (['npm' , 'run' , 'fix ' ])
6969subprocess .run (['npx' , 'compileProtos' , 'src' ])
You can’t perform that action at this time.
0 commit comments