File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ parseMode =
483
483
maybeReader $ \ s -> case split (== ' =' ) s of [k, v] -> Just (k, v); _ -> Nothing
484
484
485
485
----------------------------------------
486
- -- Running all requests contained in the `rpc_*` directory of a tarball
486
+ -- Running all requests contained in the subdirectories of the tarball
487
487
488
488
runTarball ::
489
489
CommonOptions ->
@@ -548,15 +548,13 @@ runTarball common (Just sock) tarFile keepGoing runOnly compareDetails = do
548
548
case splitFileName (Tar. entryPath entry) of
549
549
-- unpack all directories "rpc_<something>" containing "*.json" files
550
550
(dir, " " ) -- directory
551
- | Tar. Directory <- Tar. entryContent entry
552
- , " rpc_" `isPrefixOf` dir -> do
551
+ | Tar. Directory <- Tar. entryContent entry -> do
553
552
createDirectoryIfMissing False dir -- create rpc dir so we can unpack files there
554
553
acc -- no additional file to return
555
554
| otherwise ->
556
555
acc -- skip other directories and top-level files
557
556
(dir, file)
558
- | " rpc_" `isPrefixOf` dir
559
- , " .json" `isSuffixOf` file
557
+ | " .json" `isSuffixOf` file
560
558
, not (" ." `isPrefixOf` file)
561
559
, Tar. NormalFile bs _size <- Tar. entryContent entry -> do
562
560
-- unpack json files into tmp directory
You can’t perform that action at this time.
0 commit comments