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

Commit 706e306

Browse files
committed
inkwell: "No versions found" #73
1 parent 398a69e commit 706e306

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

sample/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ log = "0.4"
2525
clippy = { version = "0.0.302", optional = true}
2626
cookie_rs = {package = "cookie", version = "0.10.1"}
2727
emoji-clock = { version= "0.1.0", path = "../lib"}
28-
28+
pin-utils = "0.1.0-alpha.4"
29+
inkwell="0.0.0"
2930

3031
[dependencies.clap]
3132
version = "3.0.0"

src/toml/listener.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ function fetchCrateVersions(dependencies: Item[], shouldListPreRels: boolean, gi
3838
versions: json.versions
3939
.reduce((result: any[], item: any) => {
4040
const isPreRelease = !shouldListPreRels && item.num.indexOf("-") !== -1;
41-
if (!item.yanked && !isPreRelease && item.num !== "0.0.0") {
41+
if (!item.yanked && !isPreRelease ) {
4242
result.push(item.num);
4343
}
4444
return result;

0 commit comments

Comments
 (0)