Closed sweep-ai[bot] closed 1 year ago
lua/hurl/main.lua
✓
Sandbox logs for
trunk fmt lua/hurl/main.lua || exit 0
1/2 ✓Checked 1 file ✔ No issues
trunk check --fix --print-failures lua/hurl/main.lua
2/2 ✓Checked 1 file ✔ No issues
Latest commit: 8c0bdacec7f369a8841b006e4d60344c3e55804e
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
PR Feedback: 👎
I created this PR to address this rule:
"Variable and function names should be meaningful and descriptive."
Description
This PR renames variables and functions in
lua/hurl/main.lua
to make them more meaningful and descriptive. The changes improve the readability and maintainability of the code.Summary of Changes
get_env_file_in_folders()
tofindEnvFilesInFolders()
to accurately reflect its purpose.request()
toexecuteHttpRequest()
to accurately reflect its purpose.M.setup()
toinitializeHurlPlugin()
to accurately reflect its purpose.