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

Improve Commit Message for lua/hurl/main.lua #31

Closed sweep-ai[bot] closed 11 months ago

sweep-ai[bot] commented 11 months ago

PR Feedback: 👎

I created this PR to address this rule:

"Commit messages should be descriptive and provide a clear explanation of the changes made."

Description

This PR updates the commit message for the changes made in the lua/hurl/main.lua file. The new commit message provides a clear and detailed explanation of the changes made, specifically mentioning the removal of functions related to Git utilities and HTTP utilities, and the modification of the setup function.

Summary of Changes

sweep-ai[bot] commented 11 months ago

Rollback Files For Sweep

sweep-ai[bot] commented 11 months ago

Sandbox Executions

trunk fmt lua/hurl/main.lua || exit 0 1/2 ✓
  FAILURES  
 stylua  lua/hurl/main.lua  .trunk/out/oLUja.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk check --fix --print-failures lua/hurl/main.lua 2/2 ❌ (`1`)
  FAILURES  
 stylua  lua/hurl/main.lua  .trunk/out/C2c52.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 1 file
✖ No issues, 1 failure
# .trunk/out/C2c52.yaml
trunk_cli_version: 1.17.2
title: stylua exited with exit_code=2
report:
  - stylua exited with exit_code=2
  - linter:
      command: |
        /root/.cache/trunk/tools/stylua/0.18.2-930695fa96ba1fd56caf3954437c33b5/stylua --verify --search-parent-directories --stdin-filepath lua/hurl/main.lua -
      stdin_path: |
        /repo/lua/hurl/main.lua
      run_from: /repo
      timeout: 10m
      rerun: (cd /repo; cat /repo/lua/hurl/main.lua | env -i PATH=/root/.cache/trunk/tools/stylua/0.18.2-930695fa96ba1fd56caf3954437c33b5 HOME=/root /root/.cache/trunk/tools/stylua/0.18.2-930695fa96ba1fd56caf3954437c33b5/stylua --verify --search-parent-directories --stdin-filepath lua/hurl/main.lua -)
      affects_cache:
        []
      direct_configs:
        - .stylua.toml
      exit_status: exited
      exit_code: 2
      stdout: (none)
      stderr: |
        error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `,`. (starting from line 275, character 6 and ending on line 275, character 7)
        additional information: leftover token
    parser: |
      (none)

trunk fmt lua/hurl/main.lua || exit 0 1/2 ✓
  FAILURES  
 stylua  lua/hurl/main.lua  .trunk/out/oLUja.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 0 files
✖ No issues, 1 failure
trunk check --fix --print-failures lua/hurl/main.lua 2/2 ❌ (`1`)
  FAILURES  
 stylua  lua/hurl/main.lua  .trunk/out/C2c52.yaml
  NOTICES  
 A tool failed to run. You can open the details yaml file for more information.
Checked 1 file
✖ No issues, 1 failure
# .trunk/out/C2c52.yaml
trunk_cli_version: 1.17.2
title: stylua exited with exit_code=2
report:
  - stylua exited with exit_code=2
  - linter:
      command: |
        /root/.cache/trunk/tools/stylua/0.18.2-930695fa96ba1fd56caf3954437c33b5/stylua --verify --search-parent-directories --stdin-filepath lua/hurl/main.lua -
      stdin_path: |
        /repo/lua/hurl/main.lua
      run_from: /repo
      timeout: 10m
      rerun: (cd /repo; cat /repo/lua/hurl/main.lua | env -i PATH=/root/.cache/trunk/tools/stylua/0.18.2-930695fa96ba1fd56caf3954437c33b5 HOME=/root /root/.cache/trunk/tools/stylua/0.18.2-930695fa96ba1fd56caf3954437c33b5/stylua --verify --search-parent-directories --stdin-filepath lua/hurl/main.lua -)
      affects_cache:
        []
      direct_configs:
        - .stylua.toml
      exit_status: exited
      exit_code: 2
      stdout: (none)
      stderr: |
        error: could not format from stdin: failed to format from stdin: error parsing: error occurred while creating ast: unexpected token `,`. (starting from line 275, character 6 and ending on line 275, character 7)
        additional information: leftover token
    parser: |
      (none)

changeset-bot[bot] commented 11 months ago

⚠️ No Changeset found

Latest commit: ea77b185dbcaaefcecabcfada860e1bef03772ad

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