Skip to content

Commit

Permalink
allow aspell to run directly on pod-cache
Browse files Browse the repository at this point in the history
  • Loading branch information
coke committed Aug 26, 2020
1 parent 0ea63db commit 5491762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xt/aspell.t
Expand Up @@ -49,7 +49,7 @@ my $lock = Lock.new;

@files.race.map: -> $file {
# We use either the raw markdown or the rendered/cached Pod.
my $input-file = $file.ends-with('.pod6') ?? Pod::Cache.cache-file($file) !! $file;
my $input-file = $file.ends-with('.pod6') && !$file.contains('pod-cache') ?? Pod::Cache.cache-file($file) !! $file;

# split the input file into a block of code and a block of text
# anything with a leading space is considered code, and we just
Expand Down

0 comments on commit 5491762

Please sign in to comment.