chore: lint
This commit is contained in:
@@ -72,7 +72,7 @@ export const createRemoteBrowserForRun = (options: RemoteBrowserOptions): string
|
||||
* @returns {Promise<boolean>}
|
||||
* @category BrowserManagement-Controller
|
||||
*/
|
||||
export const destroyRemoteBrowser = async (id: string) : Promise<boolean> => {
|
||||
export const destroyRemoteBrowser = async (id: string): Promise<boolean> => {
|
||||
const browserSession = browserPool.getRemoteBrowser(id);
|
||||
if (browserSession) {
|
||||
logger.log('debug', `Switching off the browser with id: ${id}`);
|
||||
@@ -88,7 +88,7 @@ export const destroyRemoteBrowser = async (id: string) : Promise<boolean> => {
|
||||
* @returns {string | null}
|
||||
* @category BrowserManagement-Controller
|
||||
*/
|
||||
export const getActiveBrowserId = (): string | null=> {
|
||||
export const getActiveBrowserId = (): string | null => {
|
||||
return browserPool.getActiveBrowserId();
|
||||
};
|
||||
|
||||
@@ -126,7 +126,7 @@ export const getRemoteBrowserCurrentTabs = (id: string): string[] | undefined =>
|
||||
* @returns {Promise<void>}
|
||||
* @category BrowserManagement-Controller
|
||||
*/
|
||||
export const interpretWholeWorkflow = async() => {
|
||||
export const interpretWholeWorkflow = async () => {
|
||||
const id = getActiveBrowserId();
|
||||
if (id) {
|
||||
const browser = browserPool.getRemoteBrowser(id);
|
||||
@@ -146,7 +146,7 @@ export const interpretWholeWorkflow = async() => {
|
||||
* @returns {Promise<void>}
|
||||
* @category BrowserManagement-Controller
|
||||
*/
|
||||
export const stopRunningInterpretation = async() => {
|
||||
export const stopRunningInterpretation = async () => {
|
||||
const id = getActiveBrowserId();
|
||||
if (id) {
|
||||
const browser = browserPool.getRemoteBrowser(id);
|
||||
|
||||
Reference in New Issue
Block a user