From 9b8707096a85d1106045fb79d13b87c5fe8b99de Mon Sep 17 00:00:00 2001 From: Johan Lindell Date: Tue, 1 Dec 2020 21:17:25 +0100 Subject: [PATCH] fix: corrected the name of the REPOSITORY env var --- cmd/print.go | 2 +- cmd/run.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/print.go b/cmd/print.go index f71af9b5..14301d9c 100755 --- a/cmd/print.go +++ b/cmd/print.go @@ -18,7 +18,7 @@ import ( const printHelp = ` This command will clone down multiple repositories. For each of those repositories, the script will be run in the context of that repository. The output of each script run in each repo will be printed, by default to stdout and stderr, but it can be configured to files as well. -The environment variable REPOSITORY_NAME will be set to the name of the repository currently being executed by the script. +The environment variable REPOSITORY will be set to the name of the repository currently being executed by the script. ` // PrintCmd is the main command that runs a script for multiple repositories and print the output of each run diff --git a/cmd/run.go b/cmd/run.go index b1ef19c4..f1cef8ed 100755 --- a/cmd/run.go +++ b/cmd/run.go @@ -20,7 +20,7 @@ import ( const runHelp = ` This command will clone down multiple repositories. For each of those repositories, the script will be run in the context of that repository. If the script finished with a zero exit code, and the script resulted in file changes, a pull request will be created with. -The environment variable REPOSITORY_NAME will be set to the name of the repository currently being executed by the script. +The environment variable REPOSITORY will be set to the name of the repository currently being executed by the script. ` // RunCmd is the main command that runs a script for multiple repositories and creates PRs with the changes made