You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test_setup recipe in Makefile has a step: cd ${CODE_PATH} && ls -A1 | xargs rm -rf which can accidently delete some significant directories if CODE_PATH is not configured.
The text was updated successfully, but these errors were encountered:
i think to prevent this issue it is recommended to either set the CODE_PATH environment variable to a safe value before running the test_setup recipe, or to modify the recipe so that it only deletes specific files or directories that are not needed for the test. Additionally, you may want to add a check in the recipe to ensure that the CODE_PATH environment variable is set to a non-empty value before proceeding with the deletion step.
The
test_setup
recipe in Makefile has a step:cd ${CODE_PATH} && ls -A1 | xargs rm -rf
which can accidently delete some significant directories ifCODE_PATH
is not configured.The text was updated successfully, but these errors were encountered: