silgi 0.20.0 → 0.20.1
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.
- package/dist/_chunks/index.mjs +1 -1
- package/dist/cli/prepare.mjs +5 -1
- package/dist/meta/index.d.mts +1 -1
- package/dist/meta/index.d.ts +1 -1
- package/package.json +1 -1
package/dist/_chunks/index.mjs
CHANGED
package/dist/cli/prepare.mjs
CHANGED
|
@@ -126,7 +126,7 @@ const run = defineCommand({
|
|
|
126
126
|
consola.error("Silgi not found");
|
|
127
127
|
return;
|
|
128
128
|
}
|
|
129
|
-
const silgi = data
|
|
129
|
+
const silgi = data?.result?.silgi;
|
|
130
130
|
if (silgi) {
|
|
131
131
|
if (silgiCLICtx.tryUse()) {
|
|
132
132
|
silgiCLICtx.unset();
|
|
@@ -162,6 +162,10 @@ const run = defineCommand({
|
|
|
162
162
|
return;
|
|
163
163
|
}
|
|
164
164
|
} else {
|
|
165
|
+
if (!silgi) {
|
|
166
|
+
consola.error("Silgi not found");
|
|
167
|
+
return;
|
|
168
|
+
}
|
|
165
169
|
if (Object.keys(cliJson).length === 0) {
|
|
166
170
|
consola.warn("No commands found in cli.json");
|
|
167
171
|
return;
|
package/dist/meta/index.d.mts
CHANGED
package/dist/meta/index.d.ts
CHANGED