fix for bundler complaining about return outside of function
Hi, while using browserify to bundle the module it complains that the return inside the first if on index.js is outside a function instead of a return, could the other code be moved inside an else? cheers!
This commit is contained in:
Родитель
f16156fa94
Коммит
ad6754c3f4
|
@ -1,6 +1,4 @@
|
|||
if process.platform != 'win32'
|
||||
return
|
||||
|
||||
if process.platform == 'win32'
|
||||
require './format.oids'
|
||||
|
||||
@der2 = require './der2'
|
||||
|
|
Загрузка…
Ссылка в новой задаче