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() {
|
||||
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) {
|
||||
|
@ -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) ->
|
||||
|
Loading…
Reference in New Issue
Block a user