mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-19 05:37:51 +00:00
Merge pull request #249 from resin-io/jviotti/fix/validation-module
Fix validation module require typo
This commit is contained in:
commit
77a3d4d6f6
@ -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) {
|
||||||
|
@ -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) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user