@tinycloud/cli 0.9.1-beta.8 → 0.9.1-beta.9
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/index.js.map +1 -1
- package/dist/legacy-entry.js +3 -1
- package/dist/legacy-entry.js.map +1 -1
- package/package.json +3 -3
package/dist/legacy-entry.js
CHANGED
|
@@ -11809,7 +11809,9 @@ function canonicalizeSecretScope(scope) {
|
|
|
11809
11809
|
}
|
|
11810
11810
|
const trimmed = scope.trim();
|
|
11811
11811
|
if (trimmed === "") {
|
|
11812
|
-
throw new Error(
|
|
11812
|
+
throw new Error(
|
|
11813
|
+
"Secret scope must be non-empty; omit scope for global secrets."
|
|
11814
|
+
);
|
|
11813
11815
|
}
|
|
11814
11816
|
const canonical = trimmed.toLowerCase().replace(/[^a-z0-9-]/g, "-").replace(/-+/g, "-").replace(/^-|-$/g, "");
|
|
11815
11817
|
if (canonical === "") {
|