mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-19 05:37:53 +00:00
Elegant require calls
This commit is contained in:
parent
469777c232
commit
1dc26396a2
@ -1,11 +1,11 @@
|
||||
Promise = require('bluebird')
|
||||
_ = require('lodash')
|
||||
fs = Promise.promisifyAll(require('fs'))
|
||||
url = require('url')
|
||||
Promise = require 'bluebird'
|
||||
_ = require 'lodash'
|
||||
fs = Promise.promisifyAll require 'fs'
|
||||
url = require 'url'
|
||||
knex = require './db'
|
||||
crypto = require('crypto')
|
||||
csrgen = Promise.promisify(require('csr-gen'))
|
||||
request = Promise.promisify(require('request'))
|
||||
crypto = require 'crypto'
|
||||
csrgen = Promise.promisify require 'csr-gen'
|
||||
request = Promise.promisify require 'request'
|
||||
|
||||
module.exports = (uuid) ->
|
||||
# Load config file
|
||||
|
Loading…
Reference in New Issue
Block a user