Skip to content

Commit

Permalink
Update src/calculateRentalCost.js
Browse files Browse the repository at this point in the history
Co-authored-by: anastasiiavorobiova <135232001+anastasiiavorobiova@users.noreply.github.com>
  • Loading branch information
naz4ik and anastasiiavorobiova authored Nov 1, 2024
1 parent dc8f66f commit 8af7680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/calculateRentalCost.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

function calculateRentalCost(days) {
const longTerm = 7;
const LONG_TERM = 7;

Check failure on line 8 in src/calculateRentalCost.js

View workflow job for this annotation

GitHub Actions / build (20.x)

'LONG_TERM' is assigned a value but never used
const longTermDiscount = 50;
const smallTerm = 3;
const smallTermDiscount = 20;
Expand Down

0 comments on commit 8af7680

Please sign in to comment.