Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
babel-generator arguments typeof null #9307
Module build failed: TypeError: Cannot read property 'auxiliaryCommentBefore' of null
beble-generator/lib/index.js line:47 and line:76
for unknown reason, soametimes Generator arguments:opt can be 'null', so when the code is running in line 76 when we need read some options by using opts.auxiliaryCommentBefore,the exception is happend.Maybe we should add some judgement of the arguments 'opt' with the type 'null'?
Hey @chlshown! We really appreciate you taking the time to report an issue. The collaborators