add the CS preamble to the generated files

This commit is contained in:
Eugene Mirotin 2016-12-16 17:39:49 +03:00 committed by Tim Perry
parent 7a0e8beb07
commit 553b96e48f
No known key found for this signature in database
GPG Key ID: 0DDE38AFD3AF94F0
2 changed files with 2 additions and 1 deletions

View File

@ -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);

View File

@ -1,3 +1,4 @@
// Generated by CoffeeScript 1.12.2
(function() {
var getSdk, opts, settings;