Skip to content

Commit

Permalink
fix(spec): fix cache in spec
Browse files Browse the repository at this point in the history
  • Loading branch information
emorikawa committed May 3, 2016
1 parent f5c40c6 commit 7024dad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions spec/theme-manager-spec.coffee
Expand Up @@ -12,6 +12,8 @@ describe "ThemeManager", ->
configDirPath = NylasEnv.getConfigDirPath()

beforeEach ->
cache = NylasEnv.fileListCache()
cache.lessCacheImportPaths = null
spyOn(console, "log")
spyOn(console, "warn")
spyOn(console, "error")
Expand Down
2 changes: 0 additions & 2 deletions src/less-compile-cache.coffee
Expand Up @@ -2,8 +2,6 @@ _ = require 'underscore'
path = require 'path'
LessCache = require 'less-cache'

fileCacheImportPaths = null

# {LessCache} wrapper used by {ThemeManager} to read stylesheets.
module.exports =
class LessCompileCache
Expand Down

0 comments on commit 7024dad

Please sign in to comment.