lib/config-generator.js
function(file, ast) {
        var content = recast.print(ast, {
            wrapColumn: Number.Infinity
        }).code;

        content = this._updateSourceMap(file, content);

        fs.writeFileSync(file, content);
    }
function(file, ast) {
        var content = recast.print(ast, {
            wrapColumn: Number.Infinity
        }).code;

        content = this._updateSourceMap(file, content);

        fs.writeFileSync(file, content);
    }
function ( file , ast ) { var content = recast . print ( ast , { wrapColumn : Number . Infinity } ) . code ; content = this . _updateSourceMap ( file , content ) ; fs . writeFileSync ( file , content ) ; }
Saves file with the reprinted AST and updated source map, if any.

@method _saveFile
@protected
@param {String} file The file to save
@param {Object} ast The AST of the file
Saves file with the reprinted AST and updated source map if any .