@polka-codes/cli 0.9.12 → 0.9.13

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/dist/index.js +4 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -39790,7 +39790,7 @@ var {
39790
39790
  Help
39791
39791
  } = import__.default;
39792
39792
  // package.json
39793
- var version = "0.9.12";
39793
+ var version = "0.9.13";
39794
39794
 
39795
39795
  // ../../node_modules/@inquirer/core/dist/esm/lib/key.js
39796
39796
  var isUpKey = (key) => key.name === "up" || key.name === "k" || key.ctrl && key.name === "p";
@@ -78241,7 +78241,7 @@ var handler14 = async (provider2, args) => {
78241
78241
  };
78242
78242
  }
78243
78243
  const { staged, file: file3, commitRange } = toolInfo14.parameters.parse(args);
78244
- const commandParts = ["git", "diff", "--no-color"];
78244
+ const commandParts = ["git", "diff", "--no-color", "-U50"];
78245
78245
  if (staged) {
78246
78246
  commandParts.push("--staged");
78247
78247
  }
@@ -111086,7 +111086,8 @@ async function handleReviewResult(result, isJsonOutput, command) {
111086
111086
  console.log(formatted);
111087
111087
  if (process.stdin.isTTY && result.specificReviews.length > 0) {
111088
111088
  const shouldRunTask = await esm_default2({
111089
- message: "Do you wish polka-codes to address the review results?"
111089
+ message: "Do you wish polka-codes to address the review results?",
111090
+ default: false
111090
111091
  });
111091
111092
  if (shouldRunTask) {
111092
111093
  const taskInstruction = `please address the review result:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@polka-codes/cli",
3
- "version": "0.9.12",
3
+ "version": "0.9.13",
4
4
  "license": "AGPL-3.0",
5
5
  "author": "github@polka.codes",
6
6
  "type": "module",