File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -219,8 +219,8 @@ export class TypeScriptPlugin {
219219    const  {  service }  =  this . serverless 
220220
221221    await  fs . copy ( 
222-       path . join ( this . originalServicePath ,  BUILD_FOLDER ,   SERVERLESS_FOLDER ) , 
223-       path . join ( this . originalServicePath ,  SERVERLESS_FOLDER ) 
222+       path . join ( this . originalServicePath ,  SERVERLESS_FOLDER ) , 
223+       path . join ( this . originalServicePath ,  BUILD_FOLDER ,   SERVERLESS_FOLDER ) 
224224    ) 
225225
226226    if  ( this . options . function )  { 
@@ -245,7 +245,7 @@ export class TypeScriptPlugin {
245245      return 
246246    } 
247247
248-     service . package . artifact  =  path . join ( 
248+     service . package . artifact  =  service . package . artifact   &&   path . join ( 
249249      this . originalServicePath , 
250250      SERVERLESS_FOLDER , 
251251      path . basename ( service . package . artifact ) 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments