Skip to content

Commit

Permalink
Merge pull request #76 from OurFreeLight:dev
Browse files Browse the repository at this point in the history
0.8.40 merge
  • Loading branch information
ncoonrod authored May 3, 2023
2 parents 399b2fe + 908b697 commit 171f1e0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hotstaq",
"version": "0.8.39",
"version": "0.8.40",
"description": "A friendly web framework that fits nicely into devops and CI/CD pipelines.",
"bin": {
"hotstaq": "./bin/hotstaq"
Expand Down
8 changes: 4 additions & 4 deletions src/HotBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,18 +191,18 @@ export class HotBuilder

await processor.saveHotSite (hotsitePath);

let moduleHotsite: string = options.moduleHotsite.toLowerCase ();
let moduleHotsite: string = options.moduleHotsite;

if (moduleHotsite.indexOf (".json") < 0)
if (moduleHotsite.toLowerCase ().indexOf (".json") < 0)
moduleHotsite += ".json";

moduleHotsite = ppath.resolve (moduleHotsite);

if (await HotIO.exists (moduleHotsite) === false)
{
moduleHotsite = options.moduleHotsite.toLowerCase ();
moduleHotsite = options.moduleHotsite;

if (moduleHotsite.indexOf (".yaml") < 0)
if (moduleHotsite.toLowerCase ().indexOf (".yaml") < 0)
moduleHotsite += ".yaml";

moduleHotsite = ppath.resolve (moduleHotsite);
Expand Down
2 changes: 1 addition & 1 deletion src/HotStaq.ts
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class HotStaq implements IHotStaq
/**
* The current version of HotStaq.
*/
static version: string = "0.8.39";
static version: string = "0.8.40";
/**
* Indicates if this is a web build.
*/
Expand Down

0 comments on commit 171f1e0

Please sign in to comment.