( fontDir: string, fontId: string, subset: string, weight: number, style: string, extension: string, )
| 3 | |
| 4 | // Used to determine where the downloader should save the files |
| 5 | const makeFontDownloadPath = ( |
| 6 | fontDir: string, |
| 7 | fontId: string, |
| 8 | subset: string, |
| 9 | weight: number, |
| 10 | style: string, |
| 11 | extension: string, |
| 12 | ): string => |
| 13 | cleanPaths( |
| 14 | `${fontDir}/files/${fontId}-${subset}-${weight}-${style}.${extension}`, |
| 15 | ); |
| 16 | |
| 17 | // Some axes are all uppercase making packages inconsistent |
| 18 | const makeVariableFontDownloadPath = ( |
no test coverage detected