Always insert the dirs option when initializing a new project in the trigger.config.ts
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"trigger.dev": patch
|
||||
---
|
||||
|
||||
Always insert the dirs option when initializing a new project in the trigger.config.ts
|
||||
@@ -489,7 +489,7 @@ async function writeConfigFile(
|
||||
projectRef: project.externalRef,
|
||||
triggerDirectoriesOption: triggerDir.isCustomValue
|
||||
? `\n dirs: ["${triggerDir.location}"],`
|
||||
: "",
|
||||
: `\n dirs: ["/src/trigger"],`,
|
||||
},
|
||||
outputPath,
|
||||
override: options.overrideConfig,
|
||||
|
||||
Reference in New Issue
Block a user