Skip to content

Commit 52dedb6

Browse files
asgerfCopilot
andauthored
Apply spell checking fixes from copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent b444426 commit 52dedb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

javascript/ql/lib/semmle/javascript/Modules.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ abstract class Import extends AstNode {
203203
abstract DataFlow::Node getImportedModuleNode();
204204

205205
/**
206-
* Holds of the result of `getImportedModuleNode` actually refers to the export binding named `"default"`,
206+
* Holds if the result of `getImportedModuleNode` actually refers to the export binding named `"default"`,
207207
* as opposed an object whose properties correspond to the export bindings of the imported module.
208208
*
209209
* For compatibility with non-standard interpretations of `default` imports, the default
@@ -220,7 +220,7 @@ abstract class Import extends AstNode {
220220
predicate isDefaultImport() { none() }
221221

222222
/**
223-
* Gets the same as `getImportedModuleNode()` expect this has no result for default imports when the target module
223+
* Gets the same as `getImportedModuleNode()` except this has no result for default imports when the target module
224224
* has both default and named exports.
225225
*
226226
* This is to avoid ambiguity between named export bindings and the properties of the default-exported object.

0 commit comments

Comments
 (0)