goodcommit 0.2.10 → 0.3.1

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/bin/g +2 -1
  2. package/package.json +1 -1
package/bin/g CHANGED
@@ -5,7 +5,8 @@ const { spawnSync } = require('child_process');
5
5
 
6
6
  const binary = path.join(__dirname, 'native', 'goodcommit');
7
7
 
8
- const result = spawnSync(binary, process.argv.slice(2), { stdio: 'inherit' });
8
+ const args = process.argv.slice(2);
9
+ const result = spawnSync(binary, args, { stdio: 'inherit' });
9
10
  if (result.error) {
10
11
  console.error('error: goodcommit binary not found. Reinstall the package.');
11
12
  process.exit(1);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "goodcommit",
3
- "version": "0.2.10",
3
+ "version": "0.3.1",
4
4
  "description": "Good Commit: fast, reliable AI commit messages",
5
5
  "license": "MIT",
6
6
  "repository": {