diff --git a/examples/speech-to-text-bot.ts b/examples/speech-to-text-bot.ts index 0f0c2af6048979c07e303b4c604131c8253511b2..39fe19824ef902ea828f5bd398731e5c0b373f9b 100644 --- a/examples/speech-to-text-bot.ts +++ b/examples/speech-to-text-bot.ts @@ -119,7 +119,7 @@ function mp3ToWav(mp3Stream: Readable): NodeJS.ReadableStream { // console.log('Finished processing'); // }) .on('error', function(err, stdout, stderr) { - console.log('Cannot process video: ' + err.message); + console.log('Cannot process video: ' + err.message) }) return wavStream diff --git a/package.json b/package.json index a159daa9b2fbc017c35c1e50b1162798db45da88..851c5366a657ec604791dda201877507feaa61b6 100644 --- a/package.json +++ b/package.json @@ -150,6 +150,7 @@ "sloc": "^0.2.0", "ts-node": "^5.0.0", "tslint": "^5.9.0", + "tslint-eslint-rules": "^5.1.0", "tslint-jsdoc-rules": "^0.1.0", "tuling123-client": "^0.0.1", "typescript": "^2.6.1" diff --git a/scripts/sort-contributiveness.ts b/scripts/sort-contributiveness.ts index 549832a2a4e52914ab0578b45e2d9d6d587272dc..d591bed4b096b26b551dd014567d1e170fb710dd 100755 --- a/scripts/sort-contributiveness.ts +++ b/scripts/sort-contributiveness.ts @@ -94,7 +94,7 @@ async function main() { input: process.stdin, output: process.stdout, terminal: false, - }); + }) rl.on('line', processLine) await new Promise(r => rl.on('close', r)) diff --git a/tests/contact.spec.ts b/tests/contact.spec.ts index f96585fc715f3ecbfab98ff63310d826f0bfee4e..7b24fc9981b388760bb267c84462395a151716d9 100755 --- a/tests/contact.spec.ts +++ b/tests/contact.spec.ts @@ -40,7 +40,7 @@ test('Contact smoke testing', async t => { // Mock const mockContactGetter = function (id) { return new Promise((resolve, reject) => { - if (id !== UserName) return resolve({}); + if (id !== UserName) return resolve({}) setTimeout(() => { return resolve({ UserName: UserName,