mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-21 23:43:15 +01:00
fix: handle functions while marshalling (#3102)
* fix: handle functions while marshalling * fix: js style
This commit is contained in:
parent
5e4a96792e
commit
238c790f9b
@ -25,6 +25,8 @@ const marshallToVm = (value, vm) => {
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
} else if (typeof value === 'function') {
|
||||
return vm.newString('[Function (anonymous)]');
|
||||
}
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user