lib/dest/write-contents/index.js
function onWritten(writeErr) {
      var flags = fo.getFlags({
        overwrite: optResolver.resolve('overwrite', file),
        append: optResolver.resolve('append', file),
      });
      if (fo.isFatalOverwriteError(writeErr, flags)) {
        return callback(writeErr);
      }

      callback(null, file);
    }
function onWritten(writeErr) {
      var flags = fo.getFlags({
        overwrite: optResolver.resolve('overwrite', file),
        append: optResolver.resolve('append', file),
      });
      if (fo.isFatalOverwriteError(writeErr, flags)) {
        return callback(writeErr);
      }

      callback(null, file);
    }
function onWritten ( writeErr ) { var flags = fo . getFlags ( { overwrite : optResolver . resolve ( 'overwrite' , file ) , append : optResolver . resolve ( 'append' , file ) , } ) ; if ( fo . isFatalOverwriteError ( writeErr , flags ) ) { return callback ( writeErr ) ; } callback ( null , file ) ; }
This is invoked by the various writeXxx modules when they've finished writing the contents.
This is invoked by the various writeXxx modules when they ve finished writing the contents .