mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 02:39:49 +00:00
add the CS preamble to the generated files
This commit is contained in:
parent
7a0e8beb07
commit
553b96e48f
@ -101,7 +101,7 @@ limitations under the License.
|
||||
resin = require('../resin-sdk');
|
||||
return resin.models.application.get(params.application).then(function(application) {
|
||||
return Promise["try"](function() {
|
||||
return options.uuid || resin.models.device.generateUUID();
|
||||
return options.uuid || resin.models.device.generateUniqueKey();
|
||||
}).then(function(uuid) {
|
||||
console.info("Registering to " + application.app_name + ": " + uuid);
|
||||
return resin.models.device.register(application.app_name, uuid);
|
||||
|
@ -1,3 +1,4 @@
|
||||
// Generated by CoffeeScript 1.12.2
|
||||
(function() {
|
||||
var getSdk, opts, settings;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user