coc-git 2.7.4 → 2.7.5

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.
Files changed (2) hide show
  1. package/lib/index.js +3 -1
  2. package/package.json +1 -1
package/lib/index.js CHANGED
@@ -6443,7 +6443,9 @@ var Git = class {
6443
6443
  LC_ALL: "en_US.UTF-8",
6444
6444
  LANG: "en_US.UTF-8"
6445
6445
  });
6446
- options.shell = options.env.SHELL ? options.env.SHELL : process.platform === "win32" || !!options.shell;
6446
+ if (process.platform === "win32") {
6447
+ options.shell = true;
6448
+ }
6447
6449
  if (options.log !== false) {
6448
6450
  this.log(`> git ${args.join(" ")}
6449
6451
  `);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "coc-git",
3
- "version": "2.7.4",
3
+ "version": "2.7.5",
4
4
  "description": "Git extension for coc.nvim",
5
5
  "main": "lib/index.js",
6
6
  "publisher": "chemzqm",