Skip to content

Commit

Permalink
update reporting of count as per new return API
Browse files Browse the repository at this point in the history
  • Loading branch information
matmar10 committed Jul 1, 2019
1 parent 2c319d8 commit 71ce031
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ module.exports = function(grunt) {
});
if (sources.length) {
sf.loadFiles(sources, models, options)
.then(function(numSaved) {
grunt.log.ok(numSaved + ' fixtures loaded.');
.then(function(result) {
grunt.log.ok(result.count + ' fixtures loaded.');
done();
});
} else {
Expand Down

0 comments on commit 71ce031

Please sign in to comment.