Closed sweep-ai[bot] closed 1 year ago
prepare_vscode.sh
β
Sandbox logs for https://github.com/reconsumeralization/CodeCurse/commit/5de6d4164ed9f091fbc7f05dbeb58144f9b18196
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 β 15 linters were enabled (.trunk/trunk.yaml) actionlint 1.6.26 (2 github-workflow files) checkov 3.0.19 (1 docker, 8 json, 11 yaml files) git-diff-check (188 files) hadolint 2.12.0 (1 docker file) (created .hadolint.yaml) markdownlint 0.37.0 (12 markdown files) (created .markdownlint.yaml) osv-scanner 1.4.3 (1 lockfile file) oxipng 9.0.0 (3 png files) prettier 3.0.3 (2 javascript, 8 json, 12 markdown, 68 typescript, 11 yaml files) shellcheck 0.9.0 (55 shell files) (created .shellcheckrc) shfmt 3.6.0 (55 shell files) svgo 3.0.2 (11 svg files) (created svgo.config.js) terrascan 1.18.3 (1 docker file) trivy 0.46.1 (1 docker, 11 yaml files) trufflehog 3.62.1 (189 files) yamllint 1.32.0 (11 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 prepare_vscode.sh || exit 0
2/3 ββ Formatted prepare_vscode.sh Re-checking autofixed files... Checked 1 file β No issues
trunk check --fix --print-failures prepare_vscode.sh
3/3 βISSUES prepare_vscode.sh:85:65 85:65 low Consider invoking this command separately to avoid masking its return value (or use '|| shellcheck/SC2312 true' to ignore). 199:60 low Consider invoking this command separately to avoid masking its return value (or use '|| shellcheck/SC2312 true' to ignore). 200:60 low Consider invoking this command separately to avoid masking its return value (or use '|| shellcheck/SC2312 true' to ignore). 205:56 low Consider invoking this command separately to avoid masking its return value (or use '|| shellcheck/SC2312 true' to ignore). Checked 1 file 4 existing issues
Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword
link
(e.g. "Link T-123").π‘Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.
PR Feedback (click)
Description
This PR fixes the file structure issue in the
prepare_vscode.sh
script. The script was trying to copy files from thesrc/stable/*
directory, which was causing an error because the directory did not exist. This PR updates the script to use the correct directory path and ensures that the necessary files are present.Summary of Changes
prepare_vscode.sh
script to replace the incorrectsrc/stable/*
directory path with the correct directory path.cp: cannot stat 'src/stable/*': No such file or directory
no longer occurs.Please review and merge this PR to fix the file structure issue.
Fixes #6.
π Latest improvements to Sweep:
rope
library to refactor Python! Check out Large Language Models are Bad at Refactoring Code. To have Sweep refactor your code, trysweep: Refactor <your_file>.py to be more modular
!π‘ To get Sweep to edit this pull request, you can: