Skip to content

Commit

Permalink
Fix: Remove the forced lowercase in test params to permit camelcase d…
Browse files Browse the repository at this point in the history
…irectory name to be processed correctly
  • Loading branch information
cahirodoherty-learningpool committed Aug 8, 2024
1 parent 70e1328 commit 8507ac9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ const runTest = async () => {
const isCommandNotFound = !command;

// Read the input for passed arguments that arent command names
passedArgs = passedArgs.trim().replaceAll('--', '').toLowerCase().split(' ').filter(name => isCommandNotFound || name !== commandName);
passedArgs = passedArgs.trim().replaceAll('--', '').split(' ').filter(name => isCommandNotFound || name !== commandName);

// Update argumentValues array for later use while checking if the command is valid
const paramsRecognised = passedArgs.every(passedArg => {
Expand Down

0 comments on commit 8507ac9

Please sign in to comment.