File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,7 @@ export async function whoAmI(
8787 loadConfig ( {
8888 overrides : { project : options ?. projectRef ?? envVars . TRIGGER_PROJECT_REF } ,
8989 configFile : options ?. config ,
90+ warn : false ,
9091 } )
9192 ) ;
9293
Original file line number Diff line number Diff line change @@ -27,12 +27,14 @@ export type ResolveConfigOptions = {
2727 cwd ?: string ;
2828 overrides ?: Partial < TriggerConfig > ;
2929 configFile ?: string ;
30+ warn ?: boolean ;
3031} ;
3132
3233export async function loadConfig ( {
3334 cwd = process . cwd ( ) ,
3435 overrides,
3536 configFile,
37+ warn = true ,
3638} : ResolveConfigOptions = { } ) : Promise < ResolvedConfig > {
3739 const result = await c12 . loadConfig < TriggerConfig > ( {
3840 name : "trigger" ,
@@ -41,7 +43,7 @@ export async function loadConfig({
4143 jitiOptions : { debug : logger . loggerLevel === "debug" } ,
4244 } ) ;
4345
44- return await resolveConfig ( cwd , result , overrides ) ;
46+ return await resolveConfig ( cwd , result , overrides , warn ) ;
4547}
4648
4749type ResolveWatchConfigOptions = ResolveConfigOptions & {
You can’t perform that action at this time.
0 commit comments