Skip to content

Commit

Permalink
🔥 Remove useless code in script
Browse files Browse the repository at this point in the history
  • Loading branch information
gturpin-dev committed Jan 10, 2023
1 parent 3e465b2 commit ce81e67
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/new_challenge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,4 @@ cat src/ChallengeBoilerplate.php > src/Challenges/$CHALLENGE_CODE/$PHP_FILENAME
sed -i "s/CHALLENGE_BOILERPLATE/$CHALLENGE_CODE/g" src/Challenges/$CHALLENGE_CODE/$PHP_FILENAME

# Replace "Challenge_Boilerplate" in the new challenge file by CAMELCASE_CHALLENGE_CODE case sensitive
sed -i "s/Challenge_Boilerplate/$CAMELCASE_CHALLENGE_CODE/g" src/Challenges/$CHALLENGE_CODE/$PHP_FILENAME

exit 0
sed -i "s/Challenge_Boilerplate/$CAMELCASE_CHALLENGE_CODE/g" src/Challenges/$CHALLENGE_CODE/$PHP_FILENAME

0 comments on commit ce81e67

Please sign in to comment.