Skip to content

Commit

Permalink
add underscores
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Jan 8, 2024
1 parent 768b71c commit 10cb0a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ingest_gtfs_schedule/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -238,12 +238,12 @@ async fn main() -> Result<(), Box<dyn Error>> {
.unwrap()
.get::<bool>("softinsert");

let forcewipe = arguments::parse(std::env::args())
let force_wipe = arguments::parse(std::env::args())
.unwrap()
.get::<bool>("forcewipe")
.unwrap_or_else(|| false);

if (startfresh.unwrap_or(false) && isprod.unwrap_or(false) && forcewipe) {
if (startfresh.unwrap_or(false) && is_prod.unwrap_or(false) && force_wipe) {
panic!("Cannot wipe the prod server without --forcewipe true");
}

Expand Down

0 comments on commit 10cb0a3

Please sign in to comment.