Skip to content

Commit 6df4366

Browse files
committed
Using allowIO for core compatability
Signed-off-by: Gopal S Akshintala <[email protected]>
1 parent 06cc110 commit 6df4366

File tree

1 file changed

+2
-2
lines changed
  • src/main/kotlin/com/salesforce/revoman/internal/postman

1 file changed

+2
-2
lines changed

src/main/kotlin/com/salesforce/revoman/internal/postman/PostmanSDK.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import org.graalvm.polyglot.Context
1919
import org.graalvm.polyglot.HostAccess
2020
import org.graalvm.polyglot.Source
2121
import org.graalvm.polyglot.Value
22-
import org.graalvm.polyglot.io.IOAccess
2322
import org.http4k.format.ConfigurableMoshi
2423

2524
/**
@@ -66,7 +65,8 @@ class PostmanSDK(
6665
jsContext =
6766
Context.newBuilder("js")
6867
.allowExperimentalOptions(true)
69-
.allowIO(IOAccess.ALL)
68+
// ! TODO 07 Dec 2024 gopala.akshintala: Using this for core compatability
69+
.allowIO(true)
7070
.options(options)
7171
.allowHostAccess(HostAccess.ALL)
7272
.allowHostClassLookup { true }

0 commit comments

Comments
 (0)