Adjust tests for async interface
This commit is contained in:
parent
1cb9fdc3c2
commit
bc7578199d
3 changed files with 12 additions and 12 deletions
|
@ -8,8 +8,8 @@ const a = require('./assert')
|
|||
const kle = require('./kle')
|
||||
|
||||
exports.interpret = (raw, logger) => {
|
||||
let config
|
||||
let format
|
||||
let config = raw
|
||||
let format = 'OBJ'
|
||||
if (a.type(raw)() != 'object') {
|
||||
try {
|
||||
config = yaml.safeLoad(raw)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue