mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-16 07:46:31 +00:00
patch: Sentry fix path
This commit is contained in:
parent
2b728d3c52
commit
6c417e35a1
@ -23,7 +23,7 @@ import * as packageJSON from '../../../../package.json';
|
||||
|
||||
const clearUserPath = (filename: string): string => {
|
||||
const generatedFile = filename.split('generated').reverse()[0];
|
||||
return `generated${generatedFile}`;
|
||||
return generatedFile !== filename ? `generated${generatedFile}` : filename;
|
||||
};
|
||||
|
||||
export const anonymizeData = (
|
||||
|
Loading…
x
Reference in New Issue
Block a user