Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/npm_and_yarn/src/ClientApp/multi-…
Browse files Browse the repository at this point in the history
…9f37c16f8f
  • Loading branch information
danjov authored Nov 25, 2024
2 parents 784cba3 + 207bec9 commit dc47a78
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ClientApp/aspnetcore-https.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ const baseFolder =
? `${process.env.APPDATA}/ASP.NET/https`
: `${process.env.HOME}/.aspnet/https`;

fs.mkdirSync(baseFolder, { recursive: true });

const certificateArg = process.argv.map(arg => arg.match(/--name=(?<value>.+)/i)).filter(Boolean)[0];
const certificateName = certificateArg ? certificateArg.groups.value : process.env.npm_package_name;

Expand Down

0 comments on commit dc47a78

Please sign in to comment.