File tree Expand file tree Collapse file tree
packages/app/server/src/services/fund-repo Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,18 +112,16 @@ export async function fundRepo(
112112 }
113113}
114114
115-
116-
117- export async function safeFundRepo (
118- amount : number ,
119- ) : Promise < void > {
115+ export async function safeFundRepo ( amount : number ) : Promise < void > {
120116 try {
121117 const repoId = process . env . MERIT_REPO_ID ;
122118 if ( ! repoId ) {
123119 throw new Error ( 'Missing required environment variables' ) ;
124120 }
125121 await fundRepo ( amount , Number ( repoId ) ) ;
126122 } catch ( error ) {
127- logger . error ( `Error in safe funding repo: ${ error instanceof Error ? error . message : 'Unknown error' } | Amount: ${ amount } ` ) ;
123+ logger . error (
124+ `Error in safe funding repo: ${ error instanceof Error ? error . message : 'Unknown error' } | Amount: ${ amount } `
125+ ) ;
128126 }
129- }
127+ }
You can’t perform that action at this time.
0 commit comments