Sha256: 5cfe09b1a069d5f398ab1ee05f49880e9fc0bc03de749b2df15369684f16b78c

Contents?: true

Size: 422 Bytes

Versions: 6

Compression:

Stored size: 422 Bytes

Contents

/* @flow */

// ../config.js accepts options via environment variables
const options = {}

if (process.env.DOTENV_CONFIG_ENCODING != null) {
  options.encoding = process.env.DOTENV_CONFIG_ENCODING
}

if (process.env.DOTENV_CONFIG_PATH != null) {
  options.path = process.env.DOTENV_CONFIG_PATH
}

if (process.env.DOTENV_CONFIG_DEBUG != null) {
  options.debug = process.env.DOTENV_CONFIG_DEBUG
}

module.exports = options

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
authing_ruby-1.1.4 lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js
authing_ruby-1.1.3 lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js
authing_ruby-1.1.2 lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js
authing_ruby-1.1.1 lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js
authing_ruby-1.1.0 lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js
authing_ruby-1.0.9 lib/authing_ruby/test/js_sdk_test/node_modules/dotenv/lib/env-options.js