Skip to content

Commit 133ef80

Browse files
authored
feat(cargo-shuttle): warn about lowercase shuttle.toml (#2060)
1 parent b4ad54f commit 133ef80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cargo-shuttle/src/config.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ impl RequestContext {
189189
.unwrap_or(project_args.working_directory.clone());
190190

191191
trace!("looking for Shuttle.toml in {}", workspace_path.display());
192+
if workspace_path.join("shuttle.toml").exists() {
193+
eprintln!("WARN: Lowercase 'shuttle.toml' detected, please use 'Shuttle.toml'")
194+
}
192195
let local_manager = LocalConfigManager::new(workspace_path, "Shuttle.toml".to_string());
193196
let mut project = Config::new(local_manager);
194197
if !project.exists() {

0 commit comments

Comments
 (0)