jonathanmorris180 / salesforce.nvim

A Salesforce plugin for Neovim.
MIT License
20 stars 5 forks source link

Cannot select default org #25

Closed sahilkmishra closed 3 months ago

sahilkmishra commented 3 months ago

Description

E5108: Error executing lua ...nvim/lazy/salesforce.nvim/lua/salesforce/org_manager.lua:128: attempt to concatenate local 'org_alias' (a nil value) stack traceback: ...nvim/lazy/salesforce.nvim/lua/salesforce/org_manager.lua:128: in function 'select_org' [string ":lua"]:1: in main chunk

Steps to reproduce

  1. I did SalesforceSetDefaultOrg
  2. image
  3. tried to hit enter on line 3
  4. Error

Expected behavior

Set the default org or give me a hint? I figure this has to do with the alias being nil but unsure

Environment

sahilkmishra commented 3 months ago

This was fixed by adding an alias, but imo would be nice to see nil allow you to set alias or at least point to sfdx set alias

jonathanmorris180 commented 3 months ago

Thanks for opening @sahilkmishra, I'll fix this in the next release.