Returns whether or not the given file name is present in this project. @private @method has @param {String} file File name @return {Boolean} Whether or not the file is present
(file)
| 318 | @return {Boolean} Whether or not the file is present |
| 319 | */ |
| 320 | has(file) { |
| 321 | return fs.existsSync(path.join(this.root, file)) || fs.existsSync(path.join(this.root, `${file}.js`)); |
| 322 | } |
| 323 | |
| 324 | /** |
| 325 | Resolves the absolute path to a file synchronously |
no outgoing calls
no test coverage detected