Skip to content

Commit

Permalink
chore: 🚚 add src/ to py_file after sprout refactor (#23)
Browse files Browse the repository at this point in the history
## Description

When using this command in `sprout` we currently get an error bc the
directory (without `src/`) doesn’t exist.
This PR fixes that by updating the `py_file` path to include `src/`

<!-- Select quick/in-depth as necessary -->
This PR needs a quick review.

## Checklist

- [X] Ran `just run-all`
  • Loading branch information
signekb authored Mar 10, 2025
1 parent e250e6d commit eee2f7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/spaid_create_python_files
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ then
exit 1
fi

py_file=$(pwd)/$1/$2/$3.py
py_file=$(pwd)/src/$1/$2/$3.py
test_file=$(pwd)/tests/$2/test_$3.py
touch $py_file $test_file

Expand Down

0 comments on commit eee2f7d

Please sign in to comment.