forked from extern/bruno
fix (#680): fixed defined non-string variables to be displayed correctly in code editor
This commit is contained in:
parent
fa8ec4267f
commit
745cb85f95
@ -10,7 +10,7 @@ if (!SERVER_RENDERED) {
|
||||
|
||||
const pathFoundInVariables = (path, obj) => {
|
||||
const value = get(obj, path);
|
||||
return isString(value);
|
||||
return value !== undefined;
|
||||
};
|
||||
|
||||
export const defineCodeMirrorBrunoVariablesMode = (variables, mode) => {
|
||||
|
Loading…
Reference in New Issue
Block a user