답변 2개
Are you using Salesforce DX or conventional means to get code from your org to VS Code? You proabably need to 'SFDX: retreive source from org' so you have the most recent copy in VS Code. Edit and modify your code , then 'SFDX: deploy source to org'. I have found that when my code is stale in VS Code it will not deploy to the org even though it appears to work.