function checkForRootIndexFile()

in public/js/main.js [44:51]


function checkForRootIndexFile(filePaths) {
    var hasIndexFileInRoot = filePaths.some(function(filePath) { 
        return filePath === 'index.html';
    });
    if (!hasIndexFileInRoot) {
        showMsg(messages.indexFileNotInRoot);
    }
}