Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix standalone transform runs - resolve path of transform
in the issue you linked [1] from jscodeshift, i think you forgot the `path.resolve` for non-http(s) imports (not even sure how they'd work tbh). i tried running a local transform and it didn't work, but with this fix it did regardless of where i called the `packages/cli/bin/codeshift-cli.js` from. i think you might've been using the packages and not the --transforms flag so i understand why you could've missed it 😅 tbh there are more improvements to make w/ the local transforms (see [2]) but this is the first step :D [1] facebook/jscodeshift#398 [2] #48 (comment) Signed-off-by: Kipras Melnikovas <[email protected]>
- Loading branch information