mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-20 06:55:08 -04:00
use utils.inspect.custom Rready for node v12
This commit is contained in:
parent
1f771a9e01
commit
20bb104006
2 changed files with 11 additions and 2 deletions
|
@ -94,7 +94,7 @@ function transformArgs(originalArgs, newArgs) {
|
|||
* Ensure an input is a SyncDish object.
|
||||
* @param input
|
||||
*/
|
||||
const ensureIsDish = function ensureIsDish(input) {
|
||||
function ensureIsDish(input) {
|
||||
if (!input) {
|
||||
return new SyncDish();
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ const ensureIsDish = function ensureIsDish(input) {
|
|||
* @param input - operation input
|
||||
* @param args - operation args
|
||||
*/
|
||||
const prepareOp = function prepareOp(opInstance, input, args) {
|
||||
function prepareOp(opInstance, input, args) {
|
||||
const dish = ensureIsDish(input);
|
||||
let transformedArgs;
|
||||
// Transform object-style args to original args array
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue