(f)
| 358 | } |
| 359 | |
| 360 | export function loadSettingsFile(f) { |
| 361 | timer.start('loadSettingsFile') |
| 362 | const settings = {}; |
| 363 | vm.runInNewContext(readFile(f), settings, {filename: f}); |
| 364 | applySettings(settings); |
| 365 | timer.stop('loadSettingsFile') |
| 366 | return settings; |
| 367 | } |
| 368 | |
| 369 | export function loadDefaultSettings() { |
| 370 | const rtn = loadSettingsFile(localFile('settings.js')); |
no test coverage detected