Fix uuid issue hide output on api
This commit is contained in:
parent
9aafe40422
commit
10f9f12a6f
2
api.js
2
api.js
@ -3,6 +3,7 @@ delete units.App
|
||||
|
||||
const FlitterApp = require('libflitter/app/FlitterApp')
|
||||
const app = new FlitterApp(units)
|
||||
app.output.level = -Infinity
|
||||
const services = app.di().container.proxy()
|
||||
let ready = false
|
||||
let ready_ps = []
|
||||
@ -30,7 +31,6 @@ module.exports = exports = {
|
||||
throw new TypeError(`A host with the name ${name_or_config.name} is already registered.`)
|
||||
|
||||
services.configs.canonical_items.hosts[name_or_config.name] = name_or_config
|
||||
console.log(services.configs.canonical_items.hosts)
|
||||
return services.hosts.get(name_or_config.name)
|
||||
}
|
||||
|
||||
|
@ -3,7 +3,7 @@ const ImplementationError = require('libflitter/errors/ImplementationError')
|
||||
const PermissionDeniedError = require('../logical/error/PermissionDeniedError')
|
||||
const CommandNotFoundError = require('../logical/error/CommandNotFoundError')
|
||||
const FilesystemResourceNotFoundError = require('../logical/error/FilesystemResourceNotFoundError')
|
||||
const uuid = require('uuid/v4')
|
||||
const uuid = require('uuid').v4
|
||||
const UniversalPath = require('../logical/UniversalPath')
|
||||
const SystemMetrics = require('../logical/SystemMetrics')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user