Sha256: b0f25299bd4f102d65d4d568a33c7158331fb51b67b6bc0517b26c543fa85bb7
Contents?: true
Size: 303 Bytes
Versions: 9
Compression:
Stored size: 303 Bytes
Contents
/* @flow */ const re = /^dotenv_config_(encoding|path|debug)=(.+)$/ module.exports = function optionMatcher (args /*: Array<string> */) { return args.reduce(function (acc, cur) { const matches = cur.match(re) if (matches) { acc[matches[1]] = matches[2] } return acc }, {}) }
Version data entries
9 entries across 9 versions & 2 rubygems