Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "grunt-aws",
"description": "A Grunt interface into the Amazon Node.JS SDK",
"version": "0.7.1",
"version": "0.7.2",
"homepage": "https://github.com/jpillora/grunt-aws",
"author": {
"name": "Jaime Pillora",
Expand Down
2 changes: 1 addition & 1 deletion tasks/services/route53.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ module.exports = function(grunt) {
var recordsToCreate = _.select(records, function(record) {
//check for any Route53 record matching this record's name (with period on the end)
var checkForName = (record.name || record.Name) + '.';
return !_.detect(data.ResourceRecordSets, function(route53RecordData) {
return !_.find(data.ResourceRecordSets, function(route53RecordData) {
return route53RecordData.Name === checkForName;
});
});
Expand Down
2 changes: 1 addition & 1 deletion tasks/services/s3.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ module.exports = function(grunt) {
err.message = 'createBucket:S3.listBuckets: ' + err.message;
return callback(err);
}
var existingBucket = _.detect(data.Buckets, function(bucket){
var existingBucket = _.find(data.Buckets, function(bucket){
return opts.bucket === bucket.Name;
});
if(existingBucket){
Expand Down