Skip to content

Commit

Permalink
Update execute.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
neurogarg authored Aug 11, 2024
1 parent 3a750f8 commit d077fbe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions service.cli/execute.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ fi


echo "Getting Json file from input_3..."
num_pyfile=$(find "${INPUT_FOLDER}" \( -type f -name "*.json" \) | wc -l)
num_jsonfile=$(find "${INPUT_FOLDER}" \( -type f -name "*.json" \) | wc -l)

if [ "$num_pyfile" = 1 ]; then
if [ "$num_jsonfile" = 1 ]; then
filen="$(find "${INPUT_FOLDER}" \( -type f -name "*.json" \))"
cp "$filen" .
json_filen="$(basename "${filen}")"
Expand Down

0 comments on commit d077fbe

Please sign in to comment.