Skip to content

Commit

Permalink
chore: fix some comments
Browse files Browse the repository at this point in the history
Signed-off-by: beforetech <mail@before.tech>
  • Loading branch information
beforetech committed Aug 18, 2024
1 parent 482358b commit be33cb9
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/app/src/settings/SettingsCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function maybeScrollToAnchor () {
}
// Get the root HTML element, then query for the desired anchor element.
// Finally, if we found it, scroll into into view!
// Finally, if we found it, scroll into view!
const $el = root.value.$el as HTMLDivElement
const $anchor = $el.querySelector(`#${route.query.anchor}`)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ describe('FileDataSource', () => {
await fs.mkdirs(nestedScriptPath)
await fs.writeFile(path.join(nestedScriptPath, 'nested-script.js'), '')

// Verify that the glob pattern is not impacted if if contains directories equivalent
// Verify that the glob pattern is not impacted if it contains directories equivalent
// to the working directory
let files = await fileDataSource.getFilesByGlob(
projectPath,
Expand Down
2 changes: 1 addition & 1 deletion packages/network/lib/cors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function domainPropsToHostname ({ domain, subdomain, tld }: Record<string
}

/**
* same-origin: Whether or not a a urls scheme, port, and host match. @see https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
* same-origin: Whether or not a urls scheme, port, and host match. @see https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
* same-super-domain-origin: Whether or not a url's scheme, domain, top-level domain, and port match
* same-site: Whether or not a url's scheme, domain, and top-level domain match. @see https://developer.mozilla.org/en-US/docs/Glossary/Site
* @param {Policy} policy - the policy being used
Expand Down

0 comments on commit be33cb9

Please sign in to comment.