Skip to content
Permalink
Browse files

fix(deploy-time): make sure deploytime is not overriten

  • Loading branch information
Marten Klitzke
Marten Klitzke committed Jun 29, 2018
1 parent 80e8b44 commit 22e6dc49242ad5674bb1cab9c51fc4350beb7d7d
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
@@ -28,7 +28,7 @@ function extendShipit(shipit) {
/* eslint-disable no-param-reassign */
shipit.currentPath = path.join(shipit.config.deployTo, 'current')
shipit.releasesPath = path.join(shipit.config.deployTo, 'releases')
shipit.deployTime = getDeployTime()
shipit.deployTime = shipit.deployTime || getDeployTime()
shipit.logInfo = function logInfo(message) {
shipit.log(`\n\x1b[32m----->\x1b[0m ${message}`)
}

0 comments on commit 22e6dc4

Please sign in to comment.
You can’t perform that action at this time.