edgeone 1.0.21 → 1.0.22
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/edgeone-dist/cli.js +4 -3
- package/package.json +1 -1
package/edgeone-dist/cli.js
CHANGED
|
@@ -142949,7 +142949,7 @@ var yargs_default = Yargs;
|
|
|
142949
142949
|
// package.json
|
|
142950
142950
|
var package_default = {
|
|
142951
142951
|
name: "edgeone",
|
|
142952
|
-
version: "1.0.
|
|
142952
|
+
version: "1.0.22",
|
|
142953
142953
|
description: "Command-line interface for TencentCloud Pages Functions",
|
|
142954
142954
|
bin: {
|
|
142955
142955
|
edgeone: "./edgeone-bin/edgeone.js"
|
|
@@ -153709,11 +153709,12 @@ var createPagesDeployment = async (opts) => {
|
|
|
153709
153709
|
Env: env3,
|
|
153710
153710
|
DistType: isZip ? "Zip" : "Folder",
|
|
153711
153711
|
TempBucketPath: targetPath
|
|
153712
|
-
}
|
|
153712
|
+
},
|
|
153713
|
+
throwOnError: false
|
|
153713
153714
|
});
|
|
153714
153715
|
if ((_b2 = (_a3 = data == null ? void 0 : data.Data) == null ? void 0 : _a3.Response) == null ? void 0 : _b2.Error) {
|
|
153715
153716
|
throw new Error(
|
|
153716
|
-
`[createPagesDeployment] Deployment creation failed:
|
|
153717
|
+
`[createPagesDeployment] Deployment creation failed: This project type does not support direct folder or zip file deployment`
|
|
153717
153718
|
);
|
|
153718
153719
|
}
|
|
153719
153720
|
return data;
|