src/seeder.js
function fileExists(fileName) {
  return new BbPromise((resolve) => {
    fs.exists(fileName, (exists) => resolve(exists));
  });
}
function fileExists(fileName) {
  return new BbPromise((resolve) => {
    fs.exists(fileName, (exists) => resolve(exists));
  });
}
function fileExists ( fileName ) { return new BbPromise ( ( resolve ) => { fs . exists ( fileName , ( exists ) => resolve ( exists ) ) ; } ) ; }
A promise-based function that determines if a file exists
@param {string} fileName The path to the file
A promise - based function that determines if a file exists