Include channel, events, and schedule when hashing presets

This commit is contained in:
Zaid Abdulla committed 2016-08-23 23:29:19 -07:00
1 parent 96286b9d10
commit 3fe418e0c8
1 file changed
+3
+3
View File
@@ -62,6 +62,9 @@ computeHash = () ->
h = crypto.createHash('md5') h = crypto.createHash('md5')
for p in presets for p in presets
h.update(JSON.stringify(p.name)) h.update(JSON.stringify(p.name))
h.update(JSON.stringify(p.channel))
h.update(JSON.stringify(p.schedule))
h.update(JSON.stringify(p.events))
h.update(JSON.stringify(p.precondition)) h.update(JSON.stringify(p.precondition))
h.update(JSON.stringify(p.provisions)) h.update(JSON.stringify(p.provisions))