Merge pull request #249 from resin-io/jviotti/fix/validation-module

Fix validation module require typo
This commit is contained in:
Juan Cruz Viotti 2015-10-21 14:13:21 -04:00
commit 77a3d4d6f6
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
(function() { (function() {
var Promise, _, chalk, form, resin, validations, visuals; var Promise, _, chalk, form, resin, validation, visuals;
_ = require('lodash'); _ = require('lodash');
@ -13,7 +13,7 @@
chalk = require('chalk'); chalk = require('chalk');
validations = require('./validations'); validation = require('./validation');
exports.selectDeviceType = function() { exports.selectDeviceType = function() {
return resin.models.device.getSupportedDeviceTypes().then(function(deviceTypes) { return resin.models.device.getSupportedDeviceTypes().then(function(deviceTypes) {

View File

@ -4,7 +4,7 @@ form = require('resin-cli-form')
visuals = require('resin-cli-visuals') visuals = require('resin-cli-visuals')
resin = require('resin-sdk') resin = require('resin-sdk')
chalk = require('chalk') chalk = require('chalk')
validations = require('./validations') validation = require('./validation')
exports.selectDeviceType = -> exports.selectDeviceType = ->
resin.models.device.getSupportedDeviceTypes().then (deviceTypes) -> resin.models.device.getSupportedDeviceTypes().then (deviceTypes) ->