File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,7 @@ git checkout -- packages/new-namespace/src/NS_alias.res
8585#  and FileToTest.res is not listed as "type":"dev"
8686echo  ' open WebAPI'   >>  packages/with-dev-deps/src/FileToTest.res
8787rewatch build --snapshot-output & >  ../tests/snapshots/bs-dev-dependency-used-by-non-dev-source.txt
88+ normalize_paths ../tests/snapshots/bs-dev-dependency-used-by-non-dev-source.txt
8889git checkout -- packages/with-dev-deps/src/FileToTest.res
8990
9091#  it should compile dev dependencies with the --dev flag
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ Parsed 2 source files
33Compiled 2 modules
44
55  [1;31mWe've found a bug for you![0m
6-   [36m/Users/nojaf/Projects/rescript/rewatch/testrepo/ packages/with-dev-deps/src/FileToTest.res[0m:[2m2:6-11[0m
6+   [36m/packages/with-dev-deps/src/FileToTest.res[0m:[2m2:6-11[0m
77
88  1 [2m│[0m let add = (a, b) => a + b
99  [1;31m2[0m [2m│[0m open [1;31mWebAPI[0m
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments