Open kensr400 opened 8 years ago
@kensr400 I use this package on windows, same error has happened. I find that rubocop-auto-correct:current-file succesfully worked by including extentions to "rubocop command path" configuration. (ex. C:\RailsInstaller\Ruby2.2.0\bin\rubocop.bat )
@tomoya I think this error may occur because "which" command can take rubocop command without specifying extension, but "spawnSync" command needs extention to execute Windows batch files.
[Enter steps to reproduce below:]
Atom Version: 1.4.3 System: Unknown Windows Version Thrown From: rubocop-auto-correct package, v1.2.0
Stack Trace
Uncaught TypeError: Cannot read property 'match' of null
Commands
Config
Installed Packages