(config, userConfig)
| 72 | } |
| 73 | |
| 74 | function jsonReport (config, userConfig) { |
| 75 | config.json_report = path.join(config.projectPath, 'backstop_data', 'json_report'); |
| 76 | if (userConfig.paths) { |
| 77 | config.json_report = userConfig.paths.json_report || config.json_report; |
| 78 | } |
| 79 | |
| 80 | config.compareJsonFileName = path.join(config.json_report, 'jsonReport.json'); |
| 81 | } |
| 82 | |
| 83 | function comparePaths (config) { |
| 84 | config.comparePath = path.join(config.backstop, 'compare/output'); |