let detectCircularDependencies = fileNames => { … }
// then i'd call
detectCircularDependencies('./a.js', './b.js', './c.js')
Circular dependency found: a.js > b.js > c.js > a.js
let detectCircularDependencies = fileNames => { … }
// then i'd call
detectCircularDependencies('./a.js', './b.js', './c.js')
Circular dependency found: a.js > b.js > c.js > a.js