Skip to content

Commit

Permalink
Made CI trigger on PR (#33)
Browse files Browse the repository at this point in the history
* Made CI trigger on PR

* Fixed rustfmt warning
  • Loading branch information
VictorKoenders authored Nov 21, 2022
1 parent e0aa3ae commit 53e7280
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [push]
on: [push, pull_request]

name: Lint & clippy

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
on: [push]
on: [push, pull_request]

name: build

Expand Down
3 changes: 1 addition & 2 deletions front/terminal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ impl Front for Tui<'_> {
) {
enable_raw_mode().expect("Could not enable raw mode");
let mut stdout = std::io::stdout();
execute!(stdout, EnterAlternateScreen)
.expect("Could not enable alternate screen");
execute!(stdout, EnterAlternateScreen).expect("Could not enable alternate screen");

let backend = CrosstermBackend::new(stdout);
let mut terminal = Terminal::new(backend).expect("Could not instantiate the terminal");
Expand Down

0 comments on commit 53e7280

Please sign in to comment.