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 @@ -8,8 +8,6 @@ import { warning } from "../deno_ral/log.ts";
88import  {  stringify  }  from  "../core/yaml.ts" ; 
99import  {  basename ,  dirname ,  join  }  from  "../deno_ral/path.ts" ; 
1010
11- import  *  as  ld  from  "../core/lodash.ts" ; 
12- 
1311import  {  Metadata  }  from  "../config/types.ts" ; 
1412import  {  readYaml ,  readYamlFromString  }  from  "../core/yaml.ts" ; 
1513import  {  ProjectContext  }  from  "../project/types.ts" ; 
@@ -69,7 +67,9 @@ export function writePublishDeployment(
6967  publish : PublishRecord , 
7068)  { 
7169  // don't write 'code' field if false 
72-   publish  =  ld . cloneDeep ( publish )  as  PublishRecord ; 
70+   publish  =  { 
71+     ...publish , 
72+   }  as  PublishRecord ; 
7373  if  ( publish . code  ===  false )  { 
7474    delete  ( publish  as  Record < string ,  unknown > ) . code ; 
7575  } 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments