protoc 1.1.1 → 1.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.
@@ -2,11 +2,12 @@
2
2
 
3
3
  const { protoc } = require("../");
4
4
 
5
- protoc(process.argv.slice(2), {}, (err, stdout, stderr) => {
5
+ const args = process.argv.slice(2);
6
+
7
+ protoc(args, {}, (err, stdout, stderr) => {
6
8
  if (err) {
7
9
  console.error(err);
8
10
  process.exit(1);
9
- return;
10
11
  }
11
12
 
12
13
  if (stdout) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protoc",
3
- "version": "1.1.1",
3
+ "version": "1.1.3",
4
4
  "description": "A tool for converting proto buffers (.proto) files into javascript files usable in Closure Compiler with Closure Library.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  "test": "node scripts/test.js"
9
9
  },
10
10
  "bin": {
11
- "protoc": "./bin/protoc.sh"
11
+ "protoc": "./bin/protoc"
12
12
  },
13
13
  "author": "Jeppe Rune Mortensen <jepperm@gmail.com>",
14
14
  "license": "MIT",