Skip to content

Commit

Permalink
refactor ~ improve readability
Browse files Browse the repository at this point in the history
  • Loading branch information
rivy committed Jan 15, 2021
1 parent 3d9e02d commit ff7ad32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/OSPaths.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ namespace Adapt {
const isWinOS = Adapt.isWinOS(adapter_);
const normalizePath = Adapt.normalizePath(adapter_);

function joinPathToBase(base: string | undefined, segments: ReadonlyArray<string>) {
function joinPathToBase(base: string | undefined, segments: readonly string[]) {
return base ? path.join(base, ...segments) : void 0;
}

Expand Down

0 comments on commit ff7ad32

Please sign in to comment.