You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e78b667
Browse filesBrowse the repository at this point in the historyBrowse files
`Unable to access Cloudflare Pages project '${projectName}'. Create it first with 'wrangler pages project create ${projectName}' or run without --no-prompt.`,
164
+
);
165
+
}
166
+
}
167
+
156
168
asyncfunctiondeploymentUrlFromWrangler(
157
169
projectName: string,
158
170
): Promise<string|undefined>{
159
171
try{
160
-
constresult=awaitexecProcess({
161
-
cmd: "wrangler",
162
-
args: [
163
-
"pages",
164
-
"deployment",
165
-
"list",
166
-
"--project-name",
167
-
projectName,
168
-
"--json",
169
-
],
172
+
constresult=awaitexecWrangler([
173
+
"pages",
174
+
"deployment",
175
+
"list",
176
+
"--project-name",
177
+
projectName,
178
+
"--json",
179
+
],{
170
180
stdout: "piped",
171
181
stderr: "piped",
172
182
});
@@ -191,17 +201,69 @@ async function deploymentUrlFromWrangler(
"Cloudflare Pages publishing requires the Wrangler CLI (https://developers.cloudflare.com/workers/wrangler/install/). You can also run via npx if Wrangler is installed locally.",
0 commit comments