Skip to content

Commit

Permalink
fix formatting, i guess?
Browse files Browse the repository at this point in the history
  • Loading branch information
Nowaaru committed Aug 20, 2022
1 parent c01b185 commit 233ff28
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ use std::{
path::Path,
};

use owo_colors::OwoColorize;
use futures::SinkExt;
use owo_colors::OwoColorize;
use spotify_info::{SpotifyEvent, SpotifyListener, TrackState};
use warp::{
ws::{Message, WebSocket},
Expand Down Expand Up @@ -80,7 +80,11 @@ async fn ws_sendmessage(ws: &mut WebSocket, msg: String) -> Result<(), AppError>
#[tokio::main]
async fn main() {
// setup filesystem dir n stuffs.
println!("{}{}", "spotify-np v".cyan().bold(), env!("CARGO_PKG_VERSION").cyan().bold());
println!(
"{}{}",
"spotify-np v".cyan().bold(),
env!("CARGO_PKG_VERSION").cyan().bold()
);

let base = Path::new("./");
let themes = base.join(Path::new("themes"));
Expand Down Expand Up @@ -136,7 +140,10 @@ async fn main() {
}

if no_ws {
eprintln!("{} no_ws is set to true. not starting the webserver this run.", "!".red());
eprintln!(
"{} no_ws is set to true. not starting the webserver this run.",
"!".red()
);
}

println!(); // newline
Expand Down

0 comments on commit 233ff28

Please sign in to comment.