Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
module.exports = function sandboxStart(params, callback) {
params = params || {}
params.version = `Architect ${ver}`
if (!callback) return sandbox.start(params)
else sandbox.start(params, callback)
}
module.exports = function sandboxStart(params, callback) {
params = params || {}
params.version = `Architect ${ver}`
if (!callback) return sandbox.start(params)
else sandbox.start(params, callback)
}
#!/usr/bin/env node
let sandbox = require('@architect/sandbox')
let ver = require('../../package.json').version
let options = process.argv
let params = {
options,
version: `Architect ${ver}`
}
sandbox.cli(params)
let db = require('@architect/sandbox').db
let events = require('@architect/sandbox').events
let http = require('@architect/sandbox').http
let start = require('./start')
module.exports = {
db,
events,
http,
start,
}
let db = require('@architect/sandbox').db
let events = require('@architect/sandbox').events
let http = require('@architect/sandbox').http
let start = require('./start')
module.exports = {
db,
events,
http,
start,
}
let db = require('@architect/sandbox').db
let events = require('@architect/sandbox').events
let http = require('@architect/sandbox').http
let start = require('./start')
module.exports = {
db,
events,
http,
start,
}