Skip to content

Commit

Permalink
Added the instruction in the comment for upgrade library
Browse files Browse the repository at this point in the history
  • Loading branch information
polischuks committed Apr 20, 2023
1 parent 5520e73 commit b891c42
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hstest/stage/checkerLibraryVersion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ class CheckerLibraryVersion {
const localVersion = packageJson.version;
if (remoteVersion !== localVersion) {
const errorMsg = `The version of the local library (${localVersion}) is different from the version on GitHub (${remoteVersion}).
Please update your local version.`;
Please update your local version.
You can download the new version of the library at the link: https://github.com/hyperskill/hs-test-web/archive/release.tar.gz
To upgrade, install the new version using the command: npm install /path/to/your/archive/hs-test-web-release.tar.gz`;
if (throwError) {
throw new Error(errorMsg);
} else {
Expand Down

0 comments on commit b891c42

Please sign in to comment.