Skip to content

Commit

Permalink
Remove extra profiles on startup. Fix issue with deleting.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisCatus committed Jan 23, 2015
1 parent 9291123 commit a32b091
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions omega-target/src/options_sync.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,9 @@ class OptionsSync
###
copyTo: (local) ->
Promise.join local.get(null), @storage.get(null), (base, changes) =>
for key of base when not (key of changes)
if key[0] == '+'
changes[key] = undefined
local.apply(
changes: changes
base: base
Expand Down

0 comments on commit a32b091

Please sign in to comment.