Browse Source

fix anonymiser

master
Gaëtan Renaudeau 7 years ago
parent
commit
6afbf3c4fe
  1. 2
      src/helpers/anonymizer.js

2
src/helpers/anonymizer.js

@ -29,7 +29,7 @@ function filepathRecursiveReplacer(obj: mixed) {
} }
} else { } else {
for (const k in obj) { for (const k in obj) {
if (obj.hasOwnProperty(k)) { if (typeof obj.hasOwnProperty === 'function' && obj.hasOwnProperty(k)) {
const value = obj[k] const value = obj[k]
if (typeof value === 'string') { if (typeof value === 'string') {
obj[k] = filepathReplace(value) obj[k] = filepathReplace(value)

Loading…
Cancel
Save