Skip to content

Commit

Permalink
move workspace cache logger
Browse files Browse the repository at this point in the history
  • Loading branch information
dbauszus-glx committed Nov 3, 2023
1 parent d3d551e commit f1e3146
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/workspace/cache.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ module.exports = () => {
// current time minus cached timestamp exceeds WORKSPACE_AGE
cache = null

logger(`Workspace cache expired;`, 'workspace')

return cacheWorkspace()
}

Expand Down Expand Up @@ -97,6 +95,8 @@ async function cacheWorkspace() {
console.warn(`Default plugins should be defined in the default workspace.locale{}`)
}

logger(`Workspace cached;`, 'workspace')

timestamp = Date.now()

cache = workspace
Expand Down

0 comments on commit f1e3146

Please sign in to comment.