Skip to content

child_process: Check the command argument in normalizeSpawnArguments

Checklist
  • tests and code linting passes
  • a test and/or benchmark is included
  • documentation is changed or added
  • the commit message follows commit guidelines
Affected core subsystem(s)
Description of change

Throws '"command" argument must be an object' TypeError when command argument is not of type string.

Fix #6127 (closed).

Merge request reports

Loading