Skip to content
Snippets Groups Projects
Commit d7b0642b authored by Matthew Pickering's avatar Matthew Pickering Committed by Marge Bot
Browse files

linters: Fix lint-submodule-refs when crashing trying to find plausible branches

parent 4713abc2
No related branches found
No related tags found
No related merge requests found
...@@ -67,7 +67,7 @@ main = do ...@@ -67,7 +67,7 @@ main = do
when (not $ null wip) $ do when (not $ null wip) $ do
T.putStrLn " Found the following non-mirrored WIP branches:" T.putStrLn " Found the following non-mirrored WIP branches:"
forM_ wip $ \branch -> do forM_ wip $ \branch -> do
commit <- gitNormCid smAbsPath branch commit <- gitNormCid smAbsPath ("origin/" <> branch)
T.putStrLn $ " - " <> branch <> " -> " <> commit T.putStrLn $ " - " <> branch <> " -> " <> commit
T.putStrLn "" T.putStrLn ""
pure bad pure bad
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment