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

Function warn

configure.py:1267–1270  ·  view source on GitHub ↗
(msg)

Source from the content-addressed store, hash-verified

1265 sys.exit(1)
1266
1267def warn(msg):
1268 warn.warned = True
1269 prefix = '\033[1m\033[93mWARNING\033[0m' if os.isatty(1) else 'WARNING'
1270 print(f'{prefix}: {msg}')
1271
1272# track if warnings occurred
1273warn.warned = False

Callers 15

get_nasm_versionFunction · 0.70
get_gas_versionFunction · 0.70
get_openssl_versionFunction · 0.70
get_cargo_versionFunction · 0.70
get_rustc_versionFunction · 0.70
check_compilerFunction · 0.70
configure_nodeFunction · 0.70
configure_v8Function · 0.70
configure_opensslFunction · 0.70
configure_ffiFunction · 0.70
configure_staticFunction · 0.70
icu_downloadFunction · 0.70

Calls 1

printFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…