MCPcopy Index your code
hub / github.com/nodejs/node / _CommonChecks

Function _CommonChecks

deps/v8/infra/mb/PRESUBMIT.py:15–31  ·  view source on GitHub ↗
(input_api, output_api)

Source from the content-addressed store, hash-verified

13
14
15def _CommonChecks(input_api, output_api):
16 results = []
17
18 # Validate the format of the mb_config.pyl file.
19 mb_script = input_api.os_path.join(input_api.PresubmitLocalPath(), '..',
20 '..', 'tools', 'mb', 'mb.py')
21 mb_config_path = input_api.os_path.join(input_api.PresubmitLocalPath(),
22 'mb_config.pyl')
23 cmd = [input_api.python3_executable, mb_script, 'validate', '--config-file',
24 mb_config_path]
25 kwargs = {'cwd': input_api.PresubmitLocalPath()}
26 results.extend(input_api.RunTests([
27 input_api.Command(name='mb_validate',
28 cmd=cmd, kwargs=kwargs,
29 message=output_api.PresubmitError)]))
30
31 return results
32
33
34def CheckChangeOnUpload(input_api, output_api):

Callers 2

CheckChangeOnUploadFunction · 0.70
CheckChangeOnCommitFunction · 0.70

Calls 3

joinMethod · 0.45
extendMethod · 0.45
CommandMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…