@oclif/core 4.8.2 → 4.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -215,10 +215,12 @@ class Config {
215
215
  if (SHELL) {
216
216
  shellPath = SHELL.split('/');
217
217
  }
218
- else if (this.windows && process.title.toLowerCase().includes('powershell')) {
218
+ else if (this.windows &&
219
+ (process.title.toLowerCase().includes('powershell') || process.title.toLowerCase().includes('pwsh'))) {
219
220
  shellPath = ['powershell'];
220
221
  }
221
- else if (this.windows && process.title.toLowerCase().includes('command prompt')) {
222
+ else if (this.windows &&
223
+ (process.title.toLowerCase().includes('command prompt') || process.title.toLowerCase().includes('cmd'))) {
222
224
  shellPath = ['cmd.exe'];
223
225
  }
224
226
  else if (this.windows && COMSPEC) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@oclif/core",
3
3
  "description": "base library for oclif CLIs",
4
- "version": "4.8.2",
4
+ "version": "4.8.3",
5
5
  "author": "Salesforce",
6
6
  "bugs": "https://github.com/oclif/core/issues",
7
7
  "dependencies": {