hypertune
Advanced tools
Comparing version 1.7.0 to 1.7.1
# Changelog | ||
## 1.7.0 | ||
## 1.7.1 | ||
@@ -5,0 +5,0 @@ ### Breaking changes |
@@ -180,3 +180,2 @@ "use strict"; | ||
} | ||
this.logger.info(`Initializing from ${initSourceName}...`); | ||
try { | ||
@@ -196,2 +195,10 @@ const newInitData = yield (0, p_retry_1.default)((attemptNumber) => { | ||
}); | ||
if (this.initData) { | ||
if (this.initData.commitId === newInitData.commitId) { | ||
this.logger.debug(`Already have latest commit from ${initSourceName}.`); | ||
return; | ||
} | ||
this.logger.info(`Commit hash (${this.initData.commitHash}) is not latest from ${initSourceName} (${newInitData.commitHash}).`); | ||
} | ||
this.logger.info(`Initializing from ${initSourceName}...`); | ||
this.init("vercelEdgeConfig", newInitData); | ||
@@ -198,0 +205,0 @@ } |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
/** Replaced by the value in package.json on build */ | ||
exports.default = "1.7.0"; | ||
exports.default = "1.7.1"; | ||
//# sourceMappingURL=sdkVersion.js.map |
{ | ||
"name": "hypertune", | ||
"version": "1.7.0", | ||
"version": "1.7.1", | ||
"private": false, | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
@@ -291,4 +291,2 @@ import pRetry from "p-retry"; | ||
this.logger.info(`Initializing from ${initSourceName}...`); | ||
try { | ||
@@ -322,2 +320,16 @@ const newInitData = await pRetry( | ||
if (this.initData) { | ||
if (this.initData.commitId === newInitData.commitId) { | ||
this.logger.debug( | ||
`Already have latest commit from ${initSourceName}.` | ||
); | ||
return; | ||
} | ||
this.logger.info( | ||
`Commit hash (${this.initData.commitHash}) is not latest from ${initSourceName} (${newInitData.commitHash}).` | ||
); | ||
} | ||
this.logger.info(`Initializing from ${initSourceName}...`); | ||
this.init("vercelEdgeConfig", newInitData); | ||
@@ -324,0 +336,0 @@ } catch (error) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
648160
12058