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 c4839ff commit 1e6b6fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions shell/math/calculate/src/formula/formula.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#!/bin/sh
runFormula() {
if [ "sum" = "$OPERATION" ]; then
if [ "sum" = "$RIT_OPERATION" ]; then
echo "rit shell math sum numbers --rit_number_one=$RIT_NUMBER_ONE --rit_number_two=$RIT_NUMBER_TWO"
elif [ "multiplication" = "$OPERATION" ]; then
elif [ "multiplication" = "$RIT_OPERATION" ]; then
echo "rit shell math multiply numbers --rit_number_one=$RIT_NUMBER_ONE --rit_number_two=$RIT_NUMBER_TWO"
else
echo "Unexpected operation type: $OPERATION"
echo "Unexpected operation type: $RIT_OPERATION"
fi
}

0 comments on commit 1e6b6fb

Please sign in to comment.