(directory)
| 137 | } |
| 138 | |
| 139 | function throughDirectory(directory) { |
| 140 | fs.readdirSync(directory).forEach((file) => { |
| 141 | const absolute = path.join(directory, file) |
| 142 | if (fs.statSync(absolute).isDirectory()) { |
| 143 | return throughDirectory(absolute) |
| 144 | } else if ( |
| 145 | !directory.includes('rest/guides') && |
| 146 | !directory.includes('rest/overview') && |
| 147 | !file.includes('index.md') && |
| 148 | !file.includes('quickstart.md') && |
| 149 | !file.includes('README.md') |
| 150 | ) { |
| 151 | return contentFiles.push(absolute) |
| 152 | } |
| 153 | }) |
| 154 | } |
| 155 | |
| 156 | function difference(obj1, obj2) { |
| 157 | const diff = Object.keys(obj1).reduce((result, key) => { |
no outgoing calls
no test coverage detected