We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8272b11 commit bd004cfCopy full SHA for bd004cf
frontend/src/lib/components/flows/flowStore.ts
@@ -52,8 +52,8 @@ export async function pickScript(path: string, step: number) {
52
53
export async function createInlineScriptModule(language: FlowModuleValue.language, step: number, mode: FlowMode) {
54
const code = language === FlowModuleValue.language.DENO ? (
55
- mode === 'pull' ? DENO_INIT_CODE_TRIGGER : DENO_INIT_CODE) : (
56
- mode === 'pull' ? PYTHON_INIT_CODE_TRIGGER : PYTHON_INIT_CODE
+ (mode === 'pull' && step == 0) ? DENO_INIT_CODE_TRIGGER : DENO_INIT_CODE) : (
+ (mode === 'pull' && step == 0) ? PYTHON_INIT_CODE_TRIGGER : PYTHON_INIT_CODE
57
)
58
flowStore.update((flow: Flow) => {
59
flow.value.modules[step].value = {
0 commit comments