@@ -47,7 +47,7 @@ import {
4747 Runner ,
4848} from "../utils/notifications" ;
4949import {
50- ExecFlags ,
50+ RunFlag ,
5151 getPythonWrapper ,
5252 getSQLWrapper ,
5353 notifyExecution ,
@@ -543,11 +543,11 @@ export async function runActiveEditor(type?: ExecutionTypes) {
543543 if ( server === undefined ) {
544544 await runOnRepl ( ext . activeTextEditor , type ) ;
545545 notifyExecution (
546- ExecFlags . Run |
547- ExecFlags . Repl |
548- ( isWorkbook ( uri ) ? ExecFlags . Workbook : 0 ) |
549- ( isPython ( uri ) ? ExecFlags . Python : 0 ) |
550- ( isSql ( uri ) ? ExecFlags . Sql : 0 ) ,
546+ RunFlag . Run |
547+ RunFlag . Repl |
548+ ( isWorkbook ( uri ) ? RunFlag . Workbook : 0 ) |
549+ ( isPython ( uri ) ? RunFlag . Python : 0 ) |
550+ ( isSql ( uri ) ? RunFlag . Sql : 0 ) ,
551551 ) ;
552552 return ;
553553 }
@@ -585,12 +585,12 @@ export async function runActiveEditor(type?: ExecutionTypes) {
585585 isInsights ,
586586 ) ;
587587 notifyExecution (
588- ( type === ExecutionTypes . PopulateScratchpad ? 0 : ExecFlags . Run ) |
589- ( isInsights ? ExecFlags . Insights : 0 ) |
590- ( target ? ExecFlags . Dap : 0 ) |
591- ( isWorkbook ( uri ) ? ExecFlags . Workbook : 0 ) |
592- ( isPython ( uri ) ? ExecFlags . Python : 0 ) |
593- ( isSql ( uri ) ? ExecFlags . Sql : 0 ) ,
588+ ( type === ExecutionTypes . PopulateScratchpad ? 0 : RunFlag . Run ) |
589+ ( isInsights ? RunFlag . Insights : 0 ) |
590+ ( target ? RunFlag . Dap : 0 ) |
591+ ( isWorkbook ( uri ) ? RunFlag . Workbook : 0 ) |
592+ ( isPython ( uri ) ? RunFlag . Python : 0 ) |
593+ ( isSql ( uri ) ? RunFlag . Sql : 0 ) ,
594594 ) ;
595595 } catch ( error ) {
596596 notify (
0 commit comments