Comparing version 0.5.2 to 0.6.0
@@ -26,3 +26,3 @@ #!/usr/bin/node | ||
})); | ||
console.dir(data, { colors: true, depth: null }); | ||
console.dir(data, { colors: true, depth: null, maxArrayLength: Infinity }); | ||
}; | ||
@@ -156,2 +156,3 @@ const checkQueue = async () => { | ||
}); | ||
vorpal.history('bull-repl-default'); | ||
vorpal.delimiter('BULL-REPL> ').show(); |
@@ -21,3 +21,3 @@ import Queue, { Job, Queue as TQueue } from 'bull'; | ||
})); | ||
console.dir(data, {colors: true, depth: null}); | ||
console.dir(data, { colors: true, depth: null, maxArrayLength: Infinity }); | ||
}; | ||
@@ -95,3 +95,3 @@ | ||
jobData = JSON.parse(data); | ||
} catch(e) { | ||
} catch (e) { | ||
let err = new Error(); | ||
@@ -133,3 +133,3 @@ err.stack = chalk.yellow(`Error occured, seems "data" incorrect json`); | ||
if (answer.a !== 'y') { return; } | ||
await job.moveToFailed({message: reason}, true); | ||
await job.moveToFailed({ message: reason }, true); | ||
console.log(chalk.green(`Job "${jobId}" failed`)); | ||
@@ -145,3 +145,3 @@ }); | ||
returnValue = JSON.parse(data); | ||
} catch(e) { | ||
} catch (e) { | ||
let err = new Error(); | ||
@@ -157,2 +157,3 @@ err.stack = chalk.yellow(`Error occured, seems "data" incorrect json`); | ||
vorpal.history('bull-repl-default'); | ||
vorpal.delimiter('BULL-REPL> ').show(); |
{ | ||
"name": "bull-repl", | ||
"version": "0.5.2", | ||
"version": "0.6.0", | ||
"description": "Bull queue command line REPL", | ||
@@ -5,0 +5,0 @@ "repository": { |
35110
346