File tree Expand file tree Collapse file tree
lib/src/main/java/com/diffplug/spotless/npm Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121import java .util .Objects ;
2222import java .util .Set ;
2323
24- import com .diffplug .spotless .LineEnding ;
2524import com .diffplug .spotless .ThrowingEx ;
2625
2726class NodeJSWrapper extends ReflectiveObjectWrapper {
@@ -36,9 +35,6 @@ class NodeJSWrapper extends ReflectiveObjectWrapper {
3635 public NodeJSWrapper (ClassLoader classLoader ) {
3736 super (Reflective .withClassLoader (classLoader ),
3837 reflective -> {
39- if (LineEnding .PLATFORM_NATIVE .str ().equals ("\r \n " )) {
40- reflective .invokeStaticMethod (V8_RUNTIME_CLASS , "setFlags" , "-color=false" ); // required to run prettier on windows
41- }
4238 if (alreadySetup .add (classLoader )) {
4339 // the bridge to node.js needs a .dll/.so/.dylib which gets loaded through System.load
4440 // the problem is that when the JVM loads that DLL, it is bound to the specific classloader that called System.load
You can’t perform that action at this time.
0 commit comments