Parcourir la source

ReSharper EAP dropped this line; bad boy.

Roel van Uden il y a 9 ans
Parent
commit
2d4b71ff87
2 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 2 2
      src/cli.ts
  2. 1 0
      src/subtitle/decode.ts

+ 2 - 2
src/cli.ts

@@ -1,6 +1,6 @@
 'use strict';
 import batch = require('./batch');
 
-batch(process.argv, err => {
-  if (err) console.error(err);
+batch(process.argv, (err: any) => {
+  if (err) console.error(err.stack || err);
 });

+ 1 - 0
src/subtitle/decode.ts

@@ -2,6 +2,7 @@
 'use strict';
 export = main;
 import crypto = require('crypto');
+import bigInt = require('big-integer');
 import zlib = require('zlib');
 
 /**