Skip to content

Commit

Permalink
fix issue with cache command
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Dec 23, 2023
1 parent c025fba commit 2b8f80f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/cache.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { BASE_URL } from "../consts.ts";
async function cache(pipeline: string) {
const result = await fetch(`${BASE_URL}/pipeline/${pipeline}`);
const data = await result.json();
if (!data.github_url) {
if (!data.github_url && !data.version) {
console.log(
`Pipeline template ${green('"')}${green(pipeline)}${green(
'"'
Expand Down

0 comments on commit 2b8f80f

Please sign in to comment.