issue_tree
    Preparing search index...

    Function runScanCommand

    • Execute the scan subcommand.

      Parameters

      • cmd: ScanCommand

        the parsed scan command

      • log: Logger

        the stdout sink

      • deps: RunScanCommandDeps = {}

        injectable boundaries (runScan); omit to use the real engine

      Returns Promise<number>

      the process exit code (0 on a successful scan or a clean rate-limit stop, 2 when no repos were specified)

      await runScanCommand(cmd, console.log)  // => 0