Skip to content

Commit

Permalink
upd cli
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethosa committed Jan 9, 2024
1 parent 4d5ed8c commit 940bf69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/happyx/cli/build_command.nim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ proc buildCommand*(optSize: bool = false, no_compile: bool = false): int =
## Builds Single page application project into one HTML and JS files
styledEcho emoji["🔥"](), " Welcome to ", styleBright, fgMagenta, "HappyX ", resetStyle, fgWhite, "builder"
let project = if not no_compile: compileProject() else: readConfig()
assetsDir = project.assetsDir.replace("\\", "/").replace('/', DirSep)
let assetsDir = project.assetsDir.replace("\\", "/").replace('/', DirSep)
if project.projectType != ptSPA:
styledEcho fgRed, "Failure! Project isn't SPA or error wass occurred."
return QuitFailure
Expand Down

0 comments on commit 940bf69

Please sign in to comment.