Skip to content

Commit

Permalink
Merge pull request balderdashy#699 from satyrwilder/master
Browse files Browse the repository at this point in the history
Fixes undefined function error thrown during model generation with schema
  • Loading branch information
particlebanana committed Aug 29, 2013
2 parents 1bb2c21 + 43eef4a commit ad9206b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ module.exports = function(sails) {
*/

this.verifyValidEntity = function(entity, msg) {
if (!isValidECMA51Variable(entity)) {
if (!this.isValidECMA51Variable(entity)) {
sails.log.error(msg);
process.exit(1);
} else {
Expand Down

0 comments on commit ad9206b

Please sign in to comment.