message: Fix workers_dot_dev inheritance
diff: @@ -15,7 +15,7 @@ use crate::commands::subdomain::Subdomain;
  use crate::http;
  use crate::settings::global_user::GlobalUser;
  use crate::settings::project::Target;
  -use crate::terminal::message;
  +use crate::terminal::{emoji, message};
  pub fn publish(user: &GlobalUser, target: &Target) -> Result<(), failure::Error> {
  info!("workers_dot_dev = {}", target.workers_dot_dev);
  @@ -51,14 +51,19 @@ fn publish_script(user: &GlobalUser, target: &Target) -> Result<(), failure::Err
  )
  }
  - let pattern = if !target.workers_dot_dev {
  + let pattern = if target.route.is_some() {
  let route = Route::new(&target)?;
  Route::publish(&user, &target, &route)?;
  info!("publishing to route");
  route.pattern
  - } else {
  + } else if target.workers_dot_dev {
  info!("publishing to subdomain");
  publish_to_subdomain(target, user)?
  + } else {
  + failure::bail!(format!(
  + "{} you must either define a route or make workers_dot_dev true",
  + emoji::WARN
  + ))
  };
  info!("{}", &pattern);
  message::success(&format!(
  