gpt-pilot icon indicating copy to clipboard operation
gpt-pilot copied to clipboard

Pilot ignores steps with renaming files

Open Diamanter opened this issue 1 year ago • 0 comments

This step:

"tasks": [ { "type": "code_change", "code_change": { "name": "LandingPage.js", "path": "src/pages/LandingPage.jsx", "content": "import React from 'react';\n\nconst LandingPage = () => {\n return (\n <div>\n <h1>Welcome to Fly Charts!</h1>\n <p>This is the landing page of the app.</p>\n <p>More information about the app can be added here.</p>\n </div>\n );\n};\n\nexport default LandingPage;\n" } },

end up with saving 'LandingPage.js'.

should be 'LandingPage.jsx'

Please, use path, not name for saving!

Diamanter avatar Dec 04 '23 02:12 Diamanter