Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
fix: publishing error and bad Hapi property (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasbrugneaux authored Mar 6, 2023
1 parent 190c65e commit 0f7f31c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/server/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default async () => {
" " +
request.path +
" --> " +
request.response.statusCode
request.raw.res.statusCode
);
});

Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ function incrementVersion(version, command) {
}

function removeDevSuffix(version) {
return version.endsWith("-dev") ? version.slice(0, 5) : version;
return version.endsWith("-dev") ? version.slice(0, -4) : version;
}

function addDevSuffix(version) {
Expand Down

0 comments on commit 0f7f31c

Please sign in to comment.