Skip to content

Commit

Permalink
fix data path issue with scarf
Browse files Browse the repository at this point in the history
  • Loading branch information
aviaviavi committed Jul 17, 2019
1 parent 4a7323d commit fdd4a06
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 7 deletions.
7 changes: 4 additions & 3 deletions app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ main = do
useBinaryLocalDataDir <- doesDirectoryExist $ dataDirLocal <> "/web"
useBuiltDataDir <- doesDirectoryExist $ dataDirBuilt <> "/web"
when
(not useBuiltDataDir && not useBuiltDataDir)
(fail
"Couldn't initialize toodles, no valid data directory found. Please file a bug on Github.")
((not useBinaryLocalDataDir) && (not useBuiltDataDir))
(fail $
"Couldn't initialize toodles, no valid data directory found. Please file a bug on Github. Directories tried: \n" ++
dataDirLocal ++ "\n" ++ dataDirBuilt)
let dataDir =
if useBinaryLocalDataDir
then dataDirLocal
Expand Down
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: toodles
version: 1.2.2
version: 1.2.3
github: "aviaviavi/toodles"
license: MIT
author: "Avi Press"
Expand Down
6 changes: 3 additions & 3 deletions toodles.cabal
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.31.1.
-- This file has been generated from package.yaml by hpack version 0.31.2.
--
-- see: https://github.com/sol/hpack
--
-- hash: 896ae27c2218da0f69cc66905c6599c578ed00b44f930ffbf8a5f31357d621f7
-- hash: c8ccbbd4e2a437d577d621689f01748517867d25b786d1975a314d43043295b8

name: toodles
version: 1.2.2
version: 1.2.3
synopsis: Manage the TODO entries in your code
description: Toodles scrapes your entire repository for TODO entries and organizes them so you can manage your project directly from the code. View, filter, sort, and edit your TODO\'s with an easy to use web application. When you make changes via toodles, the edits will be applied directly the TODO entries in your code. When you\'re done, commit and push your changes to share them with your team!
category: Project Management
Expand Down

0 comments on commit fdd4a06

Please sign in to comment.