File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -184,9 +184,14 @@ impl RequestContext {
184184 . unwrap_or ( project_args. working_directory . clone ( ) ) ;
185185
186186 trace ! ( "looking for Shuttle.toml in {}" , workspace_path. display( ) ) ;
187- if workspace_path. join ( "shuttle.toml" ) . exists ( ) {
187+
188+ // check that the uppercase file does not exist so a false warning is not printed on case-insensitive file systems
189+ if !workspace_path. join ( "Shuttle.toml" ) . exists ( )
190+ && workspace_path. join ( "shuttle.toml" ) . exists ( )
191+ {
188192 eprintln ! ( "WARN: Lowercase 'shuttle.toml' detected, please use 'Shuttle.toml'" )
189193 }
194+
190195 let local_manager = LocalConfigManager :: new ( workspace_path, "Shuttle.toml" . to_string ( ) ) ;
191196 let mut project = Config :: new ( local_manager) ;
192197 if !project. exists ( ) {
You can’t perform that action at this time.
0 commit comments