function pushResult(ext, contents) {
          var pending = new gutil.File({
            cwd:      file.cwd,
            base:     file.base,
            path:     sourcePath + sourceName + ext,
            contents: (typeof contents === 'string') ? new Buffer(contents) : null
          });
          if (typeof contents === 'object') {
            for (var key in contents) {
              pending[key] = contents[key];
            }
          }
          stream.push(pending);
          return pending;
        }
/**
         * Push file contents to the output stream.
         * @param {string} ext The extention for the file, including dot
         * @param {string|object?} contents The contents for the file or fields to assign to it
         * @return {vinyl.File} The file that has been pushed to the stream
         */
Push file contents to the output stream.
@param {string} ext The extention for the file, including dot
@param {string|object?} contents The contents for the file or fields to assign to it
@return {vinyl.File} The file that has been pushed to the stream
Push file contents to the output stream . @param { string } ext The extention for the file including dot @param { string|object? } contents The contents for the file or fields to assign to it @return { vinyl . File } The file that has been pushed to the stream
function pushResult(ext, contents) {
          var pending = new gutil.File({
            cwd:      file.cwd,
            base:     file.base,
            path:     sourcePath + sourceName + ext,
            contents: (typeof contents === 'string') ? new Buffer(contents) : null
          });
          if (typeof contents === 'object') {
            for (var key in contents) {
              pending[key] = contents[key];
            }
          }
          stream.push(pending);
          return pending;
        }
function pushResult ( ext , contents ) { var pending = new gutil . File ( { cwd : file . cwd , base : file . base , path : sourcePath + sourceName + ext , contents : ( typeof contents === 'string' ) ? new Buffer ( contents ) : null } ) ; if ( typeof contents === 'object' ) { for ( var key in contents ) { pending [ key ] = contents [ key ] ; } } stream . push ( pending ) ; return pending ; }
Push file contents to the output stream.
Push file contents to the output stream .