continue icon indicating copy to clipboard operation
continue copied to clipboard

fix: update global directory path conversion to use localPathToUri

Open lixiaoyang1992 opened this issue 2 months ago • 0 comments

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.

lixiaoyang1992 avatar Nov 11 '25 06:11 lixiaoyang1992