Skip to content

Commit

Permalink
update rit shell math calculate formula
Browse files Browse the repository at this point in the history
Signed-off-by: GuillaumeFalourd <[email protected]>
  • Loading branch information
GuillaumeFalourd committed Jun 23, 2021
1 parent 1e6b6fb commit 1d61cdd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell/math/calculate/src/formula/formula.sh
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#!/bin/sh
runFormula() {
if [ "sum" = "$RIT_OPERATION" ]; then
echo "rit shell math sum numbers --rit_number_one=$RIT_NUMBER_ONE --rit_number_two=$RIT_NUMBER_TWO"
rit shell math sum numbers --rit_number_one=$RIT_NUMBER_ONE --rit_number_two=$RIT_NUMBER_TWO
elif [ "multiplication" = "$RIT_OPERATION" ]; then
echo "rit shell math multiply numbers --rit_number_one=$RIT_NUMBER_ONE --rit_number_two=$RIT_NUMBER_TWO"
rit shell math multiply numbers --rit_number_one=$RIT_NUMBER_ONE --rit_number_two=$RIT_NUMBER_TWO
else
echo "Unexpected operation type: $RIT_OPERATION"
fi
Expand Down

0 comments on commit 1d61cdd

Please sign in to comment.