Skip to content

Commit

Permalink
Update js/modules/resolution.go
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov authored Apr 19, 2024
1 parent f7fb626 commit 7348f09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion js/modules/resolution.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,9 @@ func (mr *ModuleResolver) resolveLoaded(basePWD *url.URL, arg string, data []byt
return mod, err
}

// Lock locks the module's resolution from any further new resolving operation. It means that it relays only its internal cache and on the fact that it has already seen previously the module during the initialization.
// Lock locks the module's resolution from any further new resolving operation.
// It means that it relays only its internal cache and on the fact that it has already
// seen previously the module during the initialization.

Check failure on line 92 in js/modules/resolution.go

View workflow job for this annotation

GitHub Actions / lint

File is not `gofmt`-ed with `-s` (gofmt)
// It is the same approach used for opening file operations.
func (mr *ModuleResolver) Lock() {
mr.locked = true
Expand Down

0 comments on commit 7348f09

Please sign in to comment.