Skip to content

Commit

Permalink
Update profile revision on profile update.
Browse files Browse the repository at this point in the history
  • Loading branch information
FelisCatus committed Dec 16, 2014
1 parent f5789f7 commit ab36b6e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions omega-target/src/options.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ class Options
results[key] = @fetchUrl(url, opt_bypass_cache).then((data) =>
profile = OmegaPac.Profiles.byKey(key, @_options)
OmegaPac.Profiles.update(profile, data)
OmegaPac.Profiles.updateRevision(profile)
changes = {}
changes[key] = profile
@_setOptions(changes).return(profile)
Expand Down

0 comments on commit ab36b6e

Please sign in to comment.