commit method

void commit(
  1. String message
)

Implementation

void commit(String message) {
  /// occasionally there will be nothing commit.
  /// this can occur after a failed release when
  /// we try re-run the release.
  if (isCommitRequired) {
    'git commit -m "$message"'.start(workingDirectory: pathToGitRoot);
  }
}