提交 b255a074 编写于 作者: Huan (李卓桓)'s avatar Huan (李卓桓)

lint

上级 a7ebfe0d
......@@ -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
......
......@@ -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))
......
......@@ -40,7 +40,7 @@ test('Contact smoke testing', async t => {
// Mock
const mockContactGetter = function (id) {
return new Promise<any>((resolve, reject) => {
if (id !== UserName) return resolve({});
if (id !== UserName) return resolve({})
setTimeout(() => {
return resolve({
UserName: UserName,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册