File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export async function getTabId(context: ExecutionContext): Promise<number> {
6868 tabId = await getCurrentTabId ( context . ekoConfig . chromeProxy ) ;
6969 logger . debug ( "getCurrentTabId(context.ekoConfig.chromeProxy) #2 returns " + tabId ) ;
7070 }
71-
71+ logger . debug ( "tabId:" , tabId ) ;
7272 if ( ! tabId ) {
7373 const fellouTabId = ( window as any ) . __FELLOU_TAB_ID__ ;
7474 if ( fellouTabId ) {
@@ -96,7 +96,7 @@ export function getCurrentTabId(chromeProxy: any, windowId?: number | undefined)
9696 logger . debug ( `get the active tabId on current window` ) ;
9797 queryInfo = { active : true , currentWindow : true } ;
9898 }
99- chrome . tabs . query ( queryInfo , ( tabs : chrome . tabs . Tab [ ] ) => {
99+ chromeProxy . tabs . query ( queryInfo , ( tabs : chrome . tabs . Tab [ ] ) => {
100100 if ( chromeProxy . runtime . lastError ) {
101101 logger . error ( `failed to get: ` , chromeProxy . runtime . lastError ) ;
102102 reject ( chromeProxy . runtime . lastError ) ;
You can’t perform that action at this time.
0 commit comments