Skip to content

Commit

Permalink
[TYPO] src/mapping-entry.ts (#145)
Browse files Browse the repository at this point in the history
preseve -> preserve
  • Loading branch information
mprinc committed Oct 9, 2020
1 parent 6b17ee2 commit d8cc12a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapping-entry.ts
Expand Up @@ -25,7 +25,7 @@ export function getAbsoluteMappingEntries(
): ReadonlyArray<MappingEntry> {
// Resolve all paths to absolute form once here, and sort them by
// longest prefix once here, this saves time on each request later.
// We need to put them in an array to preseve the sorting order.
// We need to put them in an array to preserve the sorting order.
const sortedKeys = sortByLongestPrefix(Object.keys(paths));
const absolutePaths: Array<MappingEntry> = [];
for (const key of sortedKeys) {
Expand Down

0 comments on commit d8cc12a

Please sign in to comment.