Skip to content

Commit

Permalink
Fix errant calls to bot.util.getPreferences
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayiyer05 committed Feb 23, 2023
1 parent de16322 commit bf67400
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion +bot/+internal/cache.m
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ function resetCache(mode)
end

% - Store the selected cache directory to preferences
prefs = bot.getPreferences();
prefs = bot.util.getPreferences();
prefs.CacheDirectory = strCacheDir;
end

Expand Down
2 changes: 1 addition & 1 deletion +bot/+internal/reset.m
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ function reset(mode)
mode (1,1) string = "ask" % "ask" || "force"
end
bot.internal.cache.resetCache(mode)
prefs = bot.getPreferences();
prefs = bot.util.getPreferences();
prefs.reset()
end

0 comments on commit bf67400

Please sign in to comment.