Skip to content

Commit 0dd9332

Browse files
committed
Revert "custom mode result as string"
This reverts commit ec15d98.
1 parent 733c2c7 commit 0dd9332

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/pptr/lib/customMode.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ async function customModeTask({ taskDetail, page }){
2424
// use vm to limit custom mode script's total time
2525
// vm is not safe
2626
let execResult = runFuncInVm({taskDetail, page, nodeFetch, fnString});
27-
return String(execResult);
27+
return execResult;
2828
} catch (error) {
2929
console.error(error);
3030
// TODO here is not so right

0 commit comments

Comments
 (0)