Skip to content

Commit

Permalink
get_human_size: unmark string, fixed in ansible#810
Browse files Browse the repository at this point in the history
babel uses a different compile order and get_human_size.ts and paths.ts are 2 files which need _ at module load time
810 adds the lingui helper, so, this is just temporary
  • Loading branch information
himdel committed Aug 17, 2021
1 parent a9aa793 commit b366cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/get_human_size.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const units = [_`bytes`, 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];
const units = [`bytes`, 'KB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB'];

export function getHumanSize(x) {
let l = 0,
Expand Down

0 comments on commit b366cd9

Please sign in to comment.