Skip to content

Commit 146461f

Browse files
committed
feat: detect development mode when --version includes build metadata (after "+")
1 parent 6ce9326 commit 146461f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/taskfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class TaskfileService {
7373

7474
cp.exec(command, { cwd }, (_, stdout: string, stderr: string) => {
7575
// If the version is a devel version, ignore all version checks
76-
if (stdout.includes("devel")) {
76+
if (stdout.includes("+")) {
7777
log.info("Using development version of task");
7878
this.version = new semver.SemVer("999.0.0");
7979
return resolve("ready");

0 commit comments

Comments
 (0)