From fc5fe6cf6867867e699208147c60a576acf013b9 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Wed, 21 Oct 2015 13:28:51 -0400 Subject: [PATCH] Fix validation module require typo --- build/utils/patterns.js | 4 ++-- lib/utils/patterns.coffee | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build/utils/patterns.js b/build/utils/patterns.js index bd086fdb..9d41ae0c 100644 --- a/build/utils/patterns.js +++ b/build/utils/patterns.js @@ -1,5 +1,5 @@ (function() { - var Promise, _, chalk, form, resin, validations, visuals; + var Promise, _, chalk, form, resin, validation, visuals; _ = require('lodash'); @@ -13,7 +13,7 @@ chalk = require('chalk'); - validations = require('./validations'); + validation = require('./validation'); exports.selectDeviceType = function() { return resin.models.device.getSupportedDeviceTypes().then(function(deviceTypes) { diff --git a/lib/utils/patterns.coffee b/lib/utils/patterns.coffee index b02bcfb9..308023c3 100644 --- a/lib/utils/patterns.coffee +++ b/lib/utils/patterns.coffee @@ -4,7 +4,7 @@ form = require('resin-cli-form') visuals = require('resin-cli-visuals') resin = require('resin-sdk') chalk = require('chalk') -validations = require('./validations') +validation = require('./validation') exports.selectDeviceType = -> resin.models.device.getSupportedDeviceTypes().then (deviceTypes) ->