mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 14:37:47 +00:00
Merge pull request #1014 from balena-io/disable-broken-config-validation
Stop validating device config, now that it's API-generated
This commit is contained in:
commit
52c7a098cc
@ -285,7 +285,6 @@ exports.generate =
|
||||
writeFileAsync = Promise.promisify(require('fs').writeFile)
|
||||
balena = require('balena-sdk').fromSharedOptions()
|
||||
form = require('resin-cli-form')
|
||||
deviceConfig = require('resin-device-config')
|
||||
prettyjson = require('prettyjson')
|
||||
|
||||
{ generateDeviceConfig, generateApplicationConfig } = require('../utils/config')
|
||||
@ -319,7 +318,6 @@ exports.generate =
|
||||
else
|
||||
generateApplicationConfig(resource, answers)
|
||||
.then (config) ->
|
||||
deviceConfig.validate(config)
|
||||
if options.output?
|
||||
return writeFileAsync(options.output, JSON.stringify(config))
|
||||
|
||||
|
@ -32,8 +32,6 @@ type ImgConfig = {
|
||||
vpnEndpoint: string;
|
||||
registryEndpoint: string;
|
||||
deltaEndpoint: string;
|
||||
pubnubSubscribeKey: string;
|
||||
pubnubPublishKey: string;
|
||||
mixpanelToken: string;
|
||||
wifiSsid?: string;
|
||||
wifiKey?: string;
|
||||
|
@ -155,7 +155,6 @@
|
||||
"resin-cli-form": "^2.0.0",
|
||||
"resin-cli-visuals": "^1.4.0",
|
||||
"resin-compose-parse": "^2.0.0",
|
||||
"resin-device-config": "^5.0.0",
|
||||
"resin-device-init": "^4.0.0",
|
||||
"resin-doodles": "0.0.1",
|
||||
"resin-image-fs": "^5.0.2",
|
||||
|
1
typings/resin-device-config.d.ts
vendored
1
typings/resin-device-config.d.ts
vendored
@ -1 +0,0 @@
|
||||
declare module 'resin-device-config';
|
Loading…
Reference in New Issue
Block a user