Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Samhita Alla <[email protected]>
  • Loading branch information
samhita-alla committed Nov 5, 2021
1 parent f42028f commit 398b968
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions boilerplate/flyte/welcome_bot/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES.
# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY:
#
#
# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst

set -e
Expand All @@ -12,4 +12,3 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
# Clone the config.yml file
echo " - copying ${DIR}/config.yml to the root directory."
cp "${DIR}"/config.yml "${DIR}"/../../../.github/config.yml

6 changes: 3 additions & 3 deletions boilerplate/update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# WARNING: THIS FILE IS MANAGED IN THE 'BOILERPLATE' REPO AND COPIED TO OTHER REPOSITORIES.
# ONLY EDIT THIS FILE FROM WITHIN THE 'FLYTEORG/BOILERPLATE' REPOSITORY:
#
#
# TO OPT OUT OF UPDATES, SEE https://github.com/flyteorg/boilerplate/blob/master/Readme.rst

set -e
Expand All @@ -12,7 +12,7 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
OUT="$(mktemp -d)"
trap 'rm -fr $OUT' EXIT

git clone https://github.com/flyteorg/boilerplate.git "${OUT}"
git clone https://github.com/flyteorg/boilerplate.git "${OUT}"

echo "Updating the update.sh script."
cp "${OUT}/boilerplate/update.sh" "${DIR}/update.sh"
Expand All @@ -22,7 +22,7 @@ README="https://github.com/flyteorg/boilerplate/blob/master/Readme.rst"

if [ ! -f "$CONFIG_FILE" ]; then
echo "$CONFIG_FILE not found."
echo "This file is required in order to select which features to include."
echo "This file is required in order to select which features to include."
echo "See $README for more details."
exit 1
fi
Expand Down

0 comments on commit 398b968

Please sign in to comment.