Prevent creating a new jasmine env

I need to add a custom reporter and the line 82 of lib/jasmine-node/index.js create a new jasmine env each time executeSpecsInFolder is called.
So I changed jasmineEnv = jasmine.currentEnv_ = new jasmine.Env() to jasmineEnv = jasmine.getEnv()