From 37394ce0c06f6eae895c100fc2436c57efb6a45d Mon Sep 17 00:00:00 2001 From: boforetech Date: Mon, 19 Aug 2024 23:28:46 +0900 Subject: [PATCH] chore: fix some comments (#30053) Signed-off-by: beforetech --- packages/app/src/settings/SettingsCard.vue | 2 +- packages/data-context/test/unit/sources/FileDataSource.spec.ts | 2 +- packages/network/lib/cors.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app/src/settings/SettingsCard.vue b/packages/app/src/settings/SettingsCard.vue index e1949e9fe97c..47da10ac39dd 100644 --- a/packages/app/src/settings/SettingsCard.vue +++ b/packages/app/src/settings/SettingsCard.vue @@ -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}`) diff --git a/packages/data-context/test/unit/sources/FileDataSource.spec.ts b/packages/data-context/test/unit/sources/FileDataSource.spec.ts index 7ec85e44063f..33503f096b6d 100644 --- a/packages/data-context/test/unit/sources/FileDataSource.spec.ts +++ b/packages/data-context/test/unit/sources/FileDataSource.spec.ts @@ -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, diff --git a/packages/network/lib/cors.ts b/packages/network/lib/cors.ts index d977d912766e..3b627412a102 100644 --- a/packages/network/lib/cors.ts +++ b/packages/network/lib/cors.ts @@ -86,7 +86,7 @@ export function domainPropsToHostname ({ domain, subdomain, tld }: Record