Open sorenbs opened 7 years ago
Would you accept a pull request that makes it possible to use a string as source instead of a File?
NodeEnvironment already exposes this
NodeEnvironment
public NodeScript createScript(String scriptName, String script, String[] args)
but it is not exposed in Engine:
Engine
case class ExecuteJs( source: java.io.File, args: immutable.Seq[String], timeout: FiniteDuration, timeoutExitValue: Int = Int.MinValue, environment: Map[String, String] = Map.empty )
Yes, pull requests accepted. However see https://github.com/typesafehub/js-engine/issues/43#issuecomment-249386598
Would you accept a pull request that makes it possible to use a string as source instead of a File?
NodeEnvironment
already exposes thisbut it is not exposed in
Engine
: