File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ module.exports = function(grunt) {
122122 var recordsToCreate = _ . select ( records , function ( record ) {
123123 //check for any Route53 record matching this record's name (with period on the end)
124124 var checkForName = ( record . name || record . Name ) + '.' ;
125- return ! _ . detect ( data . ResourceRecordSets , function ( route53RecordData ) {
125+ return ! _ . find ( data . ResourceRecordSets , function ( route53RecordData ) {
126126 return route53RecordData . Name === checkForName ;
127127 } ) ;
128128 } ) ;
Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ module.exports = function(grunt) {
197197 err . message = 'createBucket:S3.listBuckets: ' + err . message ;
198198 return callback ( err ) ;
199199 }
200- var existingBucket = _ . detect ( data . Buckets , function ( bucket ) {
200+ var existingBucket = _ . find ( data . Buckets , function ( bucket ) {
201201 return opts . bucket === bucket . Name ;
202202 } ) ;
203203 if ( existingBucket ) {
You can’t perform that action at this time.
0 commit comments