MCPcopy Create free account
hub / github.com/nodejs/node / FixupPlatformCommand

Function FixupPlatformCommand

tools/gyp/pylib/gyp/input.py:744–750  ·  view source on GitHub ↗
(cmd)

Source from the content-addressed store, hash-verified

742
743
744def FixupPlatformCommand(cmd):
745 if sys.platform == "win32":
746 if isinstance(cmd, list):
747 cmd = [re.sub("^cat ", "type ", cmd[0])] + cmd[1:]
748 else:
749 cmd = re.sub("^cat ", "type ", cmd)
750 return cmd
751
752
753PHASE_EARLY = 0

Callers 1

ExpandVariablesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected