@tiny-fish/cli 0.50.1-next.397 → 0.50.1-next.399
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -99,7 +99,8 @@ function probeVersion() {
|
|
|
99
99
|
});
|
|
100
100
|
if (result.error || result.status !== 0)
|
|
101
101
|
return false;
|
|
102
|
-
|
|
102
|
+
// pi 0.73 prints its version to stderr.
|
|
103
|
+
return /^\d+\.\d+\.\d+/.test((result.stdout || result.stderr || '').trim());
|
|
103
104
|
}
|
|
104
105
|
/** `skills` hardcodes the default dir, so an override leaves the skill where pi will not look. */
|
|
105
106
|
export function piSkillDirMismatch() {
|