Closed gazayas closed 1 year ago
@gazayas Do we still need this? If so, can you see about getting the tests passing on this branch?
@jagthedrummer Before moving forward with this one, I think we should prioritize the following two to make sure our tests are okay:
This PR should be ok to merge, I just want to stay on the safe side and ensure the tests are working properly first.
Also as a side note, this one seems related to the following PR which was merged recently, so just making a note for myself to double check after the two PRs above are merged:
@jagthedrummer Just checked system tests on the starter repository, this one's good to go 👍
Joint PR:
All the details for why this fix works is in the joint PR.
Scaffolding::FileTransformer#replace_line_in_file
I wanted to use this method instead because it handles more general replacement, but we need to transform the file name. We could technically transform the file name first and then pass it to
Scaffolding::FileTransformer#replace_line_in_file
if that makes more sense, but I've at least written things this way to get things working for the time being.