@@ -213,6 +213,8 @@ def fix(hide_output=False):
213
213
shell .run (["npm" , "run" , "fix" ], hide_output = hide_output )
214
214
215
215
216
+ # TODO: delete these functions if it turns out we no longer
217
+ # need them to be hermetic.
216
218
def fix_hermetic (hide_output = False ):
217
219
"""
218
220
Fixes the formatting in the current Node.js library. It assumes that gts
@@ -241,6 +243,8 @@ def compile_protos(hide_output=False):
241
243
shell .run (["npx" , "compileProtos" , "src" ], hide_output = hide_output )
242
244
243
245
246
+ # TODO: delete these functions if it turns out we no longer
247
+ # need them to be hermetic.
244
248
def compile_protos_hermetic (hide_output = False ):
245
249
"""
246
250
Compiles protos into .json, .js, and .d.ts files using
@@ -265,8 +269,8 @@ def postprocess_gapic_library(hide_output=False):
265
269
266
270
def postprocess_gapic_library_hermetic (hide_output = False ):
267
271
logger .debug ("Post-processing GAPIC library..." )
268
- fix_hermetic (hide_output = hide_output )
269
- compile_protos_hermetic (hide_output = hide_output )
272
+ fix (hide_output = hide_output )
273
+ compile_protos (hide_output = hide_output )
270
274
logger .debug ("Post-processing completed" )
271
275
272
276
0 commit comments