continue
continue copied to clipboard
fix: update global directory path conversion to use localPathToUri
Description
Function createNewGlobalRuleFile need fileUri to be uri, not path.
Checklist
- [x] I've read the contributing guide
- [x] The relevant docs, if any, have been updated or created
- [x] The relevant tests, if any, have been updated or created
Summary by cubic
Fixed path-to-URI conversion in createNewGlobalRuleFile by using localPathToUri for the global directory, ensuring rules are created with a proper URI and preventing path-related errors.
Written for commit 71e22ab977f7d17dc6abe3c5a174975f3f360da5. Summary will update automatically on new commits.