Skip to content

Commit 7f482f6

Browse files
committed
write-output-to-json-file
1 parent 00328e0 commit 7f482f6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Diff.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ run = do
6363
finalList = map (\(moduleName, currentFns, previousFns) -> (moduleName, currentFns, previousFns, HM.keys $ HM.difference (HM.fromList currentFns) (HM.fromList previousFns))) listOfFunMod
6464
finalResult = map (\(moduleName, currentFns, previousFns, removedFns) -> getFunctionModified (HM.fromList currentFns) (HM.fromList previousFns) removedFns moduleName) finalList
6565
result = toString $ encode finalResult
66-
writeFile "funs_modified.txt" result
66+
writeFile "funs_modified.json" result
6767
print result
6868
pure ()
6969
_ -> fail $ "can't proceed please pass all the arguments in the order of repoUrl localPath oldCommit newCommit but got: " <> show x

0 commit comments

Comments
 (0)