Skip to content

Commit

Permalink
Merge pull request #1417 from kethinov/0.22.9
Browse files Browse the repository at this point in the history
0.22.9
  • Loading branch information
kethinov authored May 24, 2024
2 parents c0160c9 + f916a37 commit 209a9d2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- Put your changes here...

## 0.22.9

- Fixed an issue with cert generation from CLI scripts properly this time.

## 0.22.8

- Fixed an issue with cert generation from CLI scripts.
Expand Down
5 changes: 3 additions & 2 deletions lib/scripts/certsGenerator.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ function certsGenerator (appDir, keyFolder) {

// make secrets folder if non-existent
const filepath = path.join(appDir, keyFolder)
if (!fs.existsSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.key))) fse.ensureFileSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.key), key)
if (!fs.existsSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.cert))) fse.ensureFileSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.cert), cert)
fse.ensureDirSync(filepath)
if (!fs.existsSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.key))) fse.writeFileSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.key), key)
if (!fs.existsSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.cert))) fse.writeFileSync(path.join(filepath, params.https.authInfoPath.authCertAndKey.cert), cert)
}
}
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"url": "https://github.com/rooseveltframework/roosevelt/graphs/contributors"
}
],
"version": "0.22.8",
"version": "0.22.9",
"files": [
"defaultErrorPages",
"lib",
Expand Down

0 comments on commit 209a9d2

Please sign in to comment.