plugin-update
plugin-update copied to clipboard
fix: no error when using --force
- Fix
ENOENTerror when using--forceflag by ensuring the destination directory is deleted - Remove
lodash.throttle - Replace
http-callwithgot
[skip-validate-pr]
This issue has been linked to a new work item: W-15750437
QA Notes
✅ :
➜ sf update --force
@salesforce/cli: Updating CLI from 2.40.7-bde121f to 2.40.7-bde121f... !
Error: ENOENT: no such file or directory, rename '/Users/william.ruemmele/.local/share/sf/client/2.40.7-bde121f.partial.54065/sf' -> '/Users/william.ruemmele/.local/share/sf/client/2.40.7-bde121f'
Code: ENOENT
➜ dreamhouse-lwc git:(main) ✗ hub:(DevHub) scratch:([email protected])
➜ sf update --force
› Warning: @oclif/plugin-update is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used instead.
› Warning: @oclif/plugin-update is a linked ESM module and cannot be auto-transpiled. Existing compiled source will be used instead.
# Release notes for 'sf':
## 2.40.7 (May 8, 2024) [stable]
.
.
.
@salesforce/cli: Updating CLI from 2.40.7-bde121f to 2.40.7-bde121f... done