mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
patch: Sentry fix path
This commit is contained in:
parent
722cf87686
commit
fa5cd5d988
@ -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