Closed sweep-ai[bot] closed 1 year ago
prepare_vscode.sh
β
Sandbox logs for https://github.com/reconsumeralization/CodeCurse/commit/a9bc7c18e617aeb4d6c3fc7a5a0dff4188b07ae7
trunk fmt prepare_vscode.sh || exit 0
1/2 ββ Formatted prepare_vscode.sh Re-checking autofixed files... Checked 1 file β No issues
trunk check --fix --print-failures prepare_vscode.sh
2/2 β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 'cp: cannot stat 'src/stable/': No such file or directory' error that occurs when running the
build_docker.sh
script. The error is caused by the script trying to copy files from the `src/stable/` directory, which does not exist. This PR adds a check to ensure that the directory exists before attempting to copy files from it. If the directory does not exist, the script will print an error message and exit.Summary of Changes
prepare_vscode.sh
script to check if thesrc/stable
directory exists before copying files from it.if
statement to check if the directory exists and print an error message if it does not.Fixes #10.
π 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: