linting fixes

This commit is contained in:
Dave Horton
2022-01-26 14:04:14 -05:00
parent 8c00c89882
commit 2ce902c00d
3 changed files with 3 additions and 4 deletions

View File

@@ -3,7 +3,6 @@ const {TaskName, TaskPreconditions} = require('../../utils/constants');
const makeTask = require('../make_task'); const makeTask = require('../make_task');
const { SocketClient } = require('@cognigy/socket-client'); const { SocketClient } = require('@cognigy/socket-client');
const SpeechConfig = require('./speech-config'); const SpeechConfig = require('./speech-config');
const { IoTThingsGraph } = require('aws-sdk');
const parseGallery = (obj = {}) => { const parseGallery = (obj = {}) => {
const {_default} = obj; const {_default} = obj;

View File

@@ -297,7 +297,7 @@ class TaskGather extends Task {
transcript: evt.Text transcript: evt.Text
} }
] ]
} };
} }
} }
if (evt.is_final) this._resolve('speech', evt); if (evt.is_final) this._resolve('speech', evt);