diff --git a/spec/theme-manager-spec.coffee b/spec/theme-manager-spec.coffee index 5d99a4d52..e203f861d 100644 --- a/spec/theme-manager-spec.coffee +++ b/spec/theme-manager-spec.coffee @@ -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") diff --git a/src/less-compile-cache.coffee b/src/less-compile-cache.coffee index 6bf2d8c45..e1fa0fc14 100644 --- a/src/less-compile-cache.coffee +++ b/src/less-compile-cache.coffee @@ -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