src/index.js
function writeFile(file, css) {
  return new Promise((resolve, reject) => {
    fs.writeFile(file, css, err => {
      if (err) {
        return reject(err);
      }
      resolve();
    })
  });
}
function writeFile(file, css) {
  return new Promise((resolve, reject) => {
    fs.writeFile(file, css, err => {
      if (err) {
        return reject(err);
      }
      resolve();
    })
  });
}
function writeFile ( file , css ) { return new Promise ( ( resolve , reject ) => { fs . writeFile ( file , css , err => { if ( err ) { return reject ( err ) ; } resolve ( ) ; } ) } ) ; }
Writes css to file
@param {!string} file
@param {!string} css
@return {!Promise}
Writes css to file