Function gitFailFast

  • Runs git command and throws an error if it fails. Use this for commands that make changes to the filesystem.

    The caller is responsible for validating the input. shell will always be set to false.

    Parameters

    • args: string[]
    • Optional options: SpawnSyncOptions & {
          noExitCode?: boolean;
      }

    Returns void