mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-25 13:45:52 +00:00
fix: handle functions while marshalling (#3102)
* fix: handle functions while marshalling * fix: js style
This commit is contained in:
@@ -25,6 +25,8 @@ const marshallToVm = (value, vm) => {
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
} else if (typeof value === 'function') {
|
||||
return vm.newString('[Function (anonymous)]');
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user