Skip to content
This repository was archived by the owner on May 6, 2020. It is now read-only.

Fix a condition #145

Merged
merged 1 commit into from
Feb 25, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function parseInputs {

# Optional inputs
tfWorkingDir="."
if [ "${INPUT_TF_ACTIONS_WORKING_DIR}" != "" ] || [ "${INPUT_TF_ACTIONS_WORKING_DIR}" != "." ]; then
if [[ -n "${INPUT_TF_ACTIONS_WORKING_DIR}" ]]; then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
if [[ -n "${INPUT_TF_ACTIONS_WORKING_DIR}" ]]; then
if [ -n "${INPUT_TF_ACTIONS_WORKING_DIR}" ]; then

tfWorkingDir=${INPUT_TF_ACTIONS_WORKING_DIR}
fi

Expand Down