Verified Commit 94cbedac authored by Aral Balkan's avatar Aral Balkan
Browse files

Minor: remove comment; update comment

parent a205b9c3
......@@ -73,7 +73,7 @@ class Builder
@authorisation =
callbacks:
credentials: (url, userName) =>
@log.info "Providing credentials"
@log.info "Providing credentials: #{url}, #{userName}"
NodeGit.Cred.sshKeyNew userName, @publicSSHKeyPath, @privateSSHKeyPath, ''
# certificateCheck: () ->
# return 1
......@@ -256,9 +256,6 @@ class Builder
# repository.defaultSignature()
# 'Push to master'
.then (pushResult) =>
# If this is the data for the site, let’s also push it to the site to trigger a deployment.
# TODO: In the future, when we have silent notifications implemented for the iOS app,
# this is also when we’ll trigger a push for those.
if repositoryPath == app.dataForSiteDirectory
@pushToSite repository
.then =>
......@@ -311,4 +308,4 @@ class Builder
@log.debug 'Completed update.'
module.exports = Builder
\ No newline at end of file
module.exports = Builder
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment