fix: correct spelling 'initialized' (was 'initialised')
This commit is contained in:
parent
8337723d57
commit
05f8b21dc5
1 changed files with 1 additions and 1 deletions
|
|
@ -285,7 +285,7 @@ func (cb *ContextBuilder) sourceFilesChangedLocked() bool {
|
||||||
// - absent at cache time, exists now -> changed (created)
|
// - absent at cache time, exists now -> changed (created)
|
||||||
// - absent at cache time, gone now -> no change
|
// - absent at cache time, gone now -> no change
|
||||||
func (cb *ContextBuilder) fileChangedSince(path string) bool {
|
func (cb *ContextBuilder) fileChangedSince(path string) bool {
|
||||||
// Defensive: if existedAtCache was never initialised, treat as changed
|
// Defensive: if existedAtCache was never initialized, treat as changed
|
||||||
// so the cache rebuilds rather than silently serving stale data.
|
// so the cache rebuilds rather than silently serving stale data.
|
||||||
if cb.existedAtCache == nil {
|
if cb.existedAtCache == nil {
|
||||||
return true
|
return true
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue