Skip to content

Commit

Permalink
It appears we no longer need this on Windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
nedtwigg committed May 30, 2020
1 parent b64ead5 commit c5ae0fb
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
import java.util.Objects;
import java.util.Set;

import com.diffplug.spotless.LineEnding;
import com.diffplug.spotless.ThrowingEx;

class NodeJSWrapper extends ReflectiveObjectWrapper {
Expand All @@ -36,9 +35,6 @@ class NodeJSWrapper extends ReflectiveObjectWrapper {
public NodeJSWrapper(ClassLoader classLoader) {
super(Reflective.withClassLoader(classLoader),
reflective -> {
if (LineEnding.PLATFORM_NATIVE.str().equals("\r\n")) {
reflective.invokeStaticMethod(V8_RUNTIME_CLASS, "setFlags", "-color=false"); // required to run prettier on windows
}
if (alreadySetup.add(classLoader)) {
// the bridge to node.js needs a .dll/.so/.dylib which gets loaded through System.load
// the problem is that when the JVM loads that DLL, it is bound to the specific classloader that called System.load
Expand Down

0 comments on commit c5ae0fb

Please sign in to comment.