Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit e60a9ef

Browse files
committed
fix incorrect comment
1 parent 97ca087 commit e60a9ef

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

buildserver/deps.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ func FetchCommonDeps() {
488488
// is always backed by a zip archive in memory. The following sources are
489489
// tried in sequence, and the first one that has the repo is used:
490490
//
491-
// 1. A zip URL built from the template string environment variable REPO_ZIP_URL_TEMPLATE
491+
// 1. A zip URL built from the template string passed via `initializationOptions.zipURLTemplate`
492492
// 2. GitHub's codeload endpoint
493493
// 3. A full `git clone` followed by `git archive --format=zip <rev>`
494494
//

buildserver/vfs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var RemoteFS = func(ctx context.Context, initializeParams lspext.InitializeParam
2929
if zipURL != "" {
3030
return vfsutil.NewZipVFS(ctx, zipURL, zipFetch.Inc, zipFetchFailed.Inc, true)
3131
}
32-
return nil, errors.Errorf("no zipURL was provided in the initializeOptions")
32+
return nil, errors.Errorf("no zipURL was provided in the initializationOptions")
3333
}
3434

3535
var zipFetch = prometheus.NewCounter(prometheus.CounterOpts{

0 commit comments

Comments
 (0)