Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TimeTravelPenguin committed Nov 6, 2023
1 parent b8095f5 commit 0e5159c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Commands (runProgram)
import Control.Lens ((^.))
import Data.Configuration (ConfigurationPath (..), findOrCreateDefaultConfig, ifNewConfiguration, parseApplicationConfig)
import Data.CourseDirectory (courseAssessmentsDirectoryRoot)
import Path (absdir, reldir)
import Path (Abs, File, Path, absdir, reldir)
import Path.IO (AnyPath (makeAbsolute), getCurrentDir, getHomeDir, withCurrentDir)
import StringFormatters (cleanAbsDirPathString, cleanAbsFilePathString)
import System.Console.ANSI (Color (..), ColorIntensity (..), ConsoleIntensity (BoldIntensity, NormalIntensity), ConsoleLayer (..), SGR (Reset, SetColor, SetConsoleIntensity), clearScreen, hyperlink, setSGR, setTitle)
Expand Down Expand Up @@ -36,6 +36,7 @@ printConfigCreatedMessage configPath = do
putStrLn "\".\nPlease modify before re-running the application."
setSGR [Reset]

startupWithConfig :: Path Abs File -> IO ()
startupWithConfig cfg = do
config <- parseApplicationConfig cfg
case config of
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Configuration.hs
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ createDemoTemplateFile filePath = do
\\\author{%%NAME%%}\n\
\\n\\begin{document}\n\
\ \\maketitle\n\
\ Hello, and welcome to my awesome template!\n\
\ Hello, there! This is just a simple \\LaTeX template!\n\
\\\end{document}"

createDemoTemplateFileIfNotExist :: Path Abs File -> IO ()
Expand Down

0 comments on commit 0e5159c

Please sign in to comment.