mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-29 03:43:16 +08:00
fix(build): Fix lint errors
This commit is contained in:
parent
eeb0e8fc5b
commit
3bfc452f5e
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
||||||
_ = require 'underscore'
|
_ = require 'underscore'
|
||||||
_str = require 'underscore.string'
|
_str = require 'underscore.string'
|
||||||
_ = _.extend(_, require('../src/config-utils'));
|
_ = _.extend(_, require('../src/config-utils'))
|
||||||
|
|
||||||
fs = require 'fs-plus'
|
fs = require 'fs-plus'
|
||||||
path = require 'path'
|
path = require 'path'
|
||||||
|
@ -197,7 +197,7 @@ beforeEach ->
|
||||||
|
|
||||||
# reset config before each spec; don't load or save from/to `config.json`
|
# reset config before each spec; don't load or save from/to `config.json`
|
||||||
fakePersistedConfig = {}
|
fakePersistedConfig = {}
|
||||||
spyOn(Config::, 'getRawValues').andCallFake () =>
|
spyOn(Config::, 'getRawValues').andCallFake =>
|
||||||
fakePersistedConfig
|
fakePersistedConfig
|
||||||
spyOn(Config::, 'setRawValue').andCallFake (keyPath, value) =>
|
spyOn(Config::, 'setRawValue').andCallFake (keyPath, value) =>
|
||||||
if (keyPath)
|
if (keyPath)
|
||||||
|
|
Loading…
Reference in a new issue