"Unsafe character sequences" error when using temporary directories #3009
Labels
investigating
We're actively investigating this issue
validated
Version information for this issue has been validated
Summary
When a file is pulled into a temporary directory using
sf project retrieve start
, the CLI returns the following error:This is causing issues for a Neovim plugin I have written as I use temp directories to diff files in the org. After I retrieve a file into a temp directory for diffing with the file in the current project, I can no longer push components to the org because the error is thrown. The only workaround I have found to fix the issue is to
rm -rf .sf/orgs/*
in the project after I have run a diff.Steps To Reproduce
Run the following script (replace
<username-or-alias>
appropriately):Expected result
The component should retrieve from the org into the temp directory without any issues.
Actual result
Error is thrown.
System Information
System Version: macOS 14.6.1 (23G93)
Shell info:
sf version --verbose --json
output:The text was updated successfully, but these errors were encountered: