-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: move from sfdx examples/commands/defaults to sf #462
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you also go through testSession.createOrgs so it an be sf-only?
SAMPLES.md
Outdated
@@ -101,10 +101,16 @@ describe('execCmd', () => { | |||
|
|||
```typescript | |||
import { execCmd } from '@salesforce/cli-plugins-testkit'; | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could be omitted
? `${executable} env create scratch --json -y ${org.duration ?? '1'}` | ||
: `${executable} force:org:create --json -d ${org.duration ?? '1'}`; | ||
baseCmd += ` -w ${org.wait ?? 60}`; | ||
let baseCmd = `sf env:create:scratch --json -y ${org.duration ?? '1'} -w ${org.wait ?? 60}`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there's still some sfdx-specific stuff on the flags on the new few dozen lines that will break.
@W-12607181@
remove
sfdx
references forsf