oclif 4.1.2 → 4.1.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.
@@ -216,7 +216,7 @@ USAGE
216
216
  return;
217
217
  const hasTypescript = plugin.pjson.devDependencies?.typescript || plugin.pjson.dependencies?.typescript;
218
218
  let p = path.join(plugin.root, commandsDir, ...c.id.split(':'));
219
- const outDir = path.dirname(commandsDir.replace(`.${path.sep}`, ''));
219
+ const outDir = path.dirname(commandsDir.replace('/^./|.\\/', ''));
220
220
  const outDirRegex = new RegExp('^' + outDir + (path.sep === '\\' ? '\\\\' : path.sep));
221
221
  if (fs.pathExistsSync(path.join(p, 'index.js'))) {
222
222
  p = path.join(p, 'index.js');
@@ -717,5 +717,5 @@
717
717
  ]
718
718
  }
719
719
  },
720
- "version": "4.1.2"
720
+ "version": "4.1.3"
721
721
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "oclif",
3
3
  "description": "oclif: create your own CLI",
4
- "version": "4.1.2",
4
+ "version": "4.1.3",
5
5
  "author": "Salesforce",
6
6
  "bin": {
7
7
  "oclif": "bin/run.js"