File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -38,15 +38,15 @@ function mergeMetadatas(metadatas: Array<Metafile>): Metafile {
3838        // could have different values if tree-shaking is enabled -- this will detect 
3939        // those cases and warn the user, and if it happens we can figure out how to 
4040        // handle it. 
41-         console . warn ( 
41+         console . error ( 
4242          `Different values found for key in metadata: ${ key }  . Overwriting.` 
4343        ) ; 
4444      } 
4545      mergedMetadata . inputs [ key ]  =  value ; 
4646    } ) ; 
4747    Object . entries ( metafile . outputs ) . forEach ( ( [ key ,  value ] )  =>  { 
4848      if  ( mergedMetadata . outputs [ key ] )  { 
49-         console . warn ( `Duplicate key found in metadata: ${ key }  . Overwriting.` ) ; 
49+         console . error ( `Duplicate key found in metadata: ${ key }  . Overwriting.` ) ; 
5050      } 
5151      mergedMetadata . outputs [ key ]  =  value ; 
5252    } ) ; 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments