feat: git changes processing

This commit is contained in:
Nick
2019-02-24 23:48:28 -05:00
parent abe5f3b25d
commit e6f1f3add4
13 changed files with 275 additions and 25 deletions

View File

@@ -45,7 +45,8 @@ module.exports = {
key: tgt.key,
title: targetInfo.title,
status: _.get(tgt, 'state.status', 'pending'),
message: _.get(tgt, 'state.message', 'Initializing...')
message: _.get(tgt, 'state.message', 'Initializing...'),
lastAttempt: _.get(tgt, 'state.lastAttempt', null)
}
})
}
@@ -64,7 +65,8 @@ module.exports = {
}, {}),
state: {
status: 'pending',
message: 'Initializing...'
message: 'Initializing...',
lastAttempt: null
}
}).where('key', tgt.key)
}