Skip to content

Commit

Permalink
v0.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Mar 2, 2023
1 parent 1052c4e commit 2ab59bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "raisensu"
version = "0.1.0"
version = "0.1.1"
authors = ["Yuri Katsuki <yuri@katsuki.moe>"]
license = "CC0-1.0"
description = "License manager created for Yuri"
Expand Down
8 changes: 4 additions & 4 deletions src/main.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
use clap::{Args, Parser, Subcommand, ValueEnum};
use clap::{Parser, Subcommand};
use std::path::Path;

// Statically stored license files
const LICENSES: &[(&str, &str)] = &[
("OSH-WARE", include_str!("./osh-ware/license.md")),
("CHOYXONA-WARE", include_str!("./choyxona-ware/license.md")),
("OSH-WARE", include_str!("../osh-ware/license.md")),
("CHOYXONA-WARE", include_str!("../choyxona-ware/license.md")),
];

/// License manager for Yuri Katsuki
Expand Down Expand Up @@ -87,7 +87,7 @@ fn main() {
}

// If no license file found, exit
if found.len() == 0 {
if found.is_empty() {
println!("No license file found");
return;
}
Expand Down

0 comments on commit 2ab59bf

Please sign in to comment.