File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,7 @@ export class RepositoryBroker {
5353 const messageUpDir = join ( storePath , 'message-up' ) ;
5454 const webhookDir = join ( storePath , 'webhook' ) ;
5555 const chatwootDir = join ( storePath , 'chatwoot' ) ;
56+ const tempDir = join ( storePath , 'temp' ) ;
5657
5758 // Check if directories exist, create them if not
5859 if ( ! fs . existsSync ( authDir ) ) {
@@ -83,6 +84,10 @@ export class RepositoryBroker {
8384 this . logger . verbose ( 'creating chatwoot dir: ' + chatwootDir ) ;
8485 fs . mkdirSync ( chatwootDir , { recursive : true } ) ;
8586 }
87+ if ( ! fs . existsSync ( tempDir ) ) {
88+ this . logger . verbose ( 'creating temp dir: ' + tempDir ) ;
89+ fs . mkdirSync ( tempDir , { recursive : true } ) ;
90+ }
8691 } catch ( error ) {
8792 this . logger . error ( error ) ;
8893 }
You can’t perform that action at this time.
0 commit comments