Closed dbackeus closed 1 week ago
I tried to wrap execution of the CLI in another Ruby script:
system("bundle exec ai_refactor ruby/refactor_ruby #{file} -p ai-refactor-prompt -m claude-3-5-sonnet-20240620 --overwrite y -O #{file}") or abort("Refactor failed")
Even when getting a successful execution I hit "Refactor failed" and abort the script:
I tried to wrap execution of the CLI in another Ruby script:
Even when getting a successful execution I hit "Refactor failed" and abort the script: