Skip to content

Commit

Permalink
Update index.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishi Raj Jain authored Jan 22, 2023
1 parent 3c5d729 commit e516bb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/integrations/partytown/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ type PartytownOptions =
}
| undefined;

function appendForwardSlash(path: string) {
return path.endsWith('/') ? path : path + '/';
function appendForwardSlash(str: string) {
return str.endsWith('/') ? str : str + '/';
}

export default function createPlugin(options: PartytownOptions): AstroIntegration {
Expand Down

0 comments on commit e516bb5

Please sign in to comment.