Documentation for Simbo's Packages
    Preparing search index...

    Function gitSucceeds

    • Runs a Git command and reports whether it exited with code 0.

      Only a non-zero exit code counts as failure; it is passed to debug.

      Parameters

      • args: readonly string[]

        The Git arguments.

      • options: GitOptions = {}

        Options for running the command.

      Returns Promise<boolean>

      true if the command exited with code 0, false for any other exit code.

      if Git cannot be started, is terminated, or exceeds maxBuffer.