Skip to content

Commit 38fb0eb

Browse files
committed
ignore studio action if nothing returned from server
1 parent 70a3bea commit 38fb0eb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/commands/studio.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,10 @@ class StudioActions {
260260
if (!afterUserAction) {
261261
outputConsole(data.console);
262262
}
263+
if (!data.result.content.length) {
264+
// nothing to-do, just ignore it
265+
return resolve();
266+
}
263267
const actionToProcess = data.result.content.pop();
264268

265269
// CSP pages should not have a progress bar

0 commit comments

Comments
 (0)