launchdarkly / node-server-sdk

LaunchDarkly Server-side SDK for Node
Other
79 stars 65 forks source link

Properly define the variable. #145

Closed phillipb closed 5 years ago

phillipb commented 5 years ago

This is particularly important when running with --use-strict

eli-darkly commented 5 years ago

Thank you - this fix will go into the next release.

We are also looking at ways to avoid similar problems in this codebase in the future. We will probably start using ESLint and/or a transpiler - we have been doing that in the JS SDK for browsers, but not in the Node codebase.

eli-darkly commented 5 years ago

OK, the fix has been released.