Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
inkwell: "No versions found" #73
Browse files Browse the repository at this point in the history
  • Loading branch information
serayuzgur committed Mar 16, 2020
1 parent 398a69e commit 706e306
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion sample/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ log = "0.4"
clippy = { version = "0.0.302", optional = true}
cookie_rs = {package = "cookie", version = "0.10.1"}
emoji-clock = { version= "0.1.0", path = "../lib"}

pin-utils = "0.1.0-alpha.4"
inkwell="0.0.0"

[dependencies.clap]
version = "3.0.0"
Expand Down
2 changes: 1 addition & 1 deletion src/toml/listener.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ function fetchCrateVersions(dependencies: Item[], shouldListPreRels: boolean, gi
versions: json.versions
.reduce((result: any[], item: any) => {
const isPreRelease = !shouldListPreRels && item.num.indexOf("-") !== -1;
if (!item.yanked && !isPreRelease && item.num !== "0.0.0") {
if (!item.yanked && !isPreRelease ) {
result.push(item.num);
}
return result;
Expand Down

0 comments on commit 706e306

Please sign in to comment.