jellydn / hurl.nvim

Hurl.nvim is a Neovim plugin designed to run HTTP requests directly from `.hurl` files. Elevate your API development workflow by executing and viewing responses without leaving your editor.
https://gyazo.com/19492e8b5366cec3f22d5fd97a63f37a
MIT License
158 stars 15 forks source link

[Sweep Rules] Update comments and docstrings in main.lua #15

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

PR Feedback: 👍

I created this PR to address this rule:

"All docstrings and comments should be up to date."

Description

This PR updates the comments and docstrings in the lua/hurl/main.lua file to ensure they are accurate and up to date. Specifically, it adds a comment explaining the purpose of the is_running variable and updates the comment in the request function to reflect the new condition.

Summary of Changes

Please review the changes and merge them into the main branch. Thank you!

sweep-ai[bot] commented 1 year ago

Rollback Files For Sweep

sweep-ai[bot] commented 1 year ago

Sandbox Executions

trunk init 1/3 ✓
⡿ Downloading Trunk 1.17.1...
⡿ Downloading Trunk 1.17.1...
⢿ Downloading Trunk 1.17.1...
⣻ Downloading Trunk 1.17.1...
⣽ Downloading Trunk 1.17.1...
⣾ Downloading Trunk 1.17.1...
⣷ Downloading Trunk 1.17.1...
✔ Downloading Trunk 1.17.1... done
⡿ Verifying Trunk sha256...
✔ Verifying Trunk sha256... done
⡿ Unpacking Trunk...
✔ Unpacking Trunk... done

✔ 12 linters were enabled (.trunk/trunk.yaml)
  actionlint 1.6.26 (1 github-workflow file)
  checkov 3.0.14 (3 json, 4 yaml files)
  dotenv-linter 3.3.0 (1 dotenv file)
  git-diff-check (24 files)
  markdownlint 0.37.0 (1 markdown file) (created .markdownlint.yaml)
  prettier 3.0.3 (3 json, 1 markdown, 4 yaml files)
  renovate 37.8.1 (1 renovate-config file)
  stylua 0.18.2 (8 lua files)
  taplo 0.8.1 (1 toml file)
  trivy 0.46.1 (4 yaml files)
  trufflehog 3.62.0 (24 files)
  yamllint 1.32.0 (4 yaml files) (created .yamllint.yaml)
Next Steps
 1. Read documentation
    Our documentation can be found at https://docs.trunk.io
 2. Get help and give feedback
    Join the Trunk community at https://slack.trunk.io
trunk fmt lua/hurl/main.lua || exit 0 2/3 ✓
Checked 1 file
✔ No issues
trunk check --fix --print-failures lua/hurl/main.lua 3/3 ✓
Checked 1 file
✔ No issues

changeset-bot[bot] commented 1 year ago

⚠️ No Changeset found

Latest commit: 444d9e259dc78091f8298e667b043839af902d9b

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