tasks/jekyll.js
function configContext (next) {
			if (options.raw) {
				// Tmp file is only available within the context of this function
				tmp.file({ prefix: '_config.', postfix: '.yml' }, function (err, path, fd) {

					rawConfigFile = path;

					if (err) {
						grunt.fail.warn(err);
					}

					// Write raw to file
					fs.writeSync(fd, new Buffer(options.raw), 0, options.raw.length);
					next();
				});
			}
			else {
				next();
			}
		}
function configContext (next) {
			if (options.raw) {
				// Tmp file is only available within the context of this function
				tmp.file({ prefix: '_config.', postfix: '.yml' }, function (err, path, fd) {

					rawConfigFile = path;

					if (err) {
						grunt.fail.warn(err);
					}

					// Write raw to file
					fs.writeSync(fd, new Buffer(options.raw), 0, options.raw.length);
					next();
				});
			}
			else {
				next();
			}
		}
function configContext ( next ) { if ( options . raw ) { // Tmp file is only available within the context of this function tmp . file ( { prefix : '_config.' , postfix : '.yml' } , function ( err , path , fd ) { rawConfigFile = path ; if ( err ) { grunt . fail . warn ( err ) ; } // Write raw to file fs . writeSync ( fd , new Buffer ( options . raw ) , 0 , options . raw . length ) ; next ( ) ; } ) ; } else { next ( ) ; } }
Create temporary config file if needed
Create temporary config file if needed