Fix validation module require typo

This commit is contained in:
Juan Cruz Viotti 2015-10-21 13:28:51 -04:00
parent 8fe08642f5
commit fc5fe6cf68
2 changed files with 3 additions and 3 deletions

View File

@ -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) {

View File

@ -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) ->