Skip to content

Commit 50e0c3c

Browse files
committed
fix(ci): OctoPi version may be empty
1 parent d1ab721 commit 50e0c3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/custopize.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
console.log(`Version from workflow dispatch: ${version}`);
4646
}
4747
48-
if (version.includes(":")) {
48+
if (version && version.includes(":")) {
4949
// version is in "version:url" format
5050
const pos = version.indexOf(":")
5151
const octopiVersion = version.slice(0, pos);

0 commit comments

Comments
 (0)