We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 528c34c commit db959f3Copy full SHA for db959f3
site/site.go
@@ -386,10 +386,10 @@ func htmlFiles(files fs.FS) (*htmlTemplates, error) {
386
// ${CODER_CACHE_DIRECTORY}/site/bin).
387
func ExtractOrReadBinFS(dest string, siteFS fs.FS) (http.FileSystem, error) {
388
if dest == "" {
389
- // No destionation on fs, embedd fs is the only option.
+ // No destination on fs, embedded fs is the only option.
390
binFS, err := fs.Sub(siteFS, "bin")
391
if err != nil {
392
- return nil, xerrors.Errorf("cache path is empty and embedd fs does not have /bin: %w", err)
+ return nil, xerrors.Errorf("cache path is empty and embedded fs does not have /bin: %w", err)
393
}
394
return http.FS(binFS), nil
395
0 commit comments