(path)
| 112 | } |
| 113 | |
| 114 | function loadHelperFile(path) { |
| 115 | try { |
| 116 | var contents = require(path); |
| 117 | } catch (e) { |
| 118 | console.error(`ERROR: The credential file could not be loaded ${path}`); |
| 119 | console.error(e); |
| 120 | process.exit(1); |
| 121 | } |
| 122 | return contents; |
| 123 | } |
| 124 | |
| 125 | function checkRequiredKeys(obj, keys) { |
| 126 | keys.forEach(function(key){ |