Skip to content

Commit

Permalink
chapter 02: starting LogAn, the project that we are going to use in t…
Browse files Browse the repository at this point in the history
…he next chapters
  • Loading branch information
devcorpio committed Jan 9, 2019
1 parent 7a5e84a commit fc4c419
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions chapter_02-a-first-unit-test/LogAn/logAnalyzer.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
function logAnalyzer() {
/**
* @param {string} fileName
* @return {boolean}
*/
function isValidLogFileName(fileName) {
if (fileName.endsWith('.SLF')) {
return false;
}

return true;
}
}

module.exports = logAnalyzer;

0 comments on commit fc4c419

Please sign in to comment.