Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mukunku authored Sep 17, 2023
1 parent 9093bf8 commit de7ae6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ async function run() {

console.log(`Searching for tag: ${tag} in ${repoInput}`);

if (!repoInput.contains('/')) {
if (!repoInput.includes('/')) {
throw new Error(`${repoInput} is not a valid repo`);
}

Expand Down

0 comments on commit de7ae6d

Please sign in to comment.