Skip to content

Commit

Permalink
chore(deps): update danysk/docker-manjaro-texlive-ruby docker tag to …
Browse files Browse the repository at this point in the history
…v15.0.119 (#64)

* chore(deps): update danysk/docker-manjaro-texlive-ruby docker tag to v15.0.119

* fix: enforce UTF-8

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Danilo Pianini <danilo.pianini@gmail.com>
  • Loading branch information
renovate[bot] and DanySK committed Dec 4, 2023
1 parent 07ba620 commit 00f254b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM danysk/docker-manjaro-texlive-ruby:15.0.39
FROM danysk/docker-manjaro-texlive-ruby:15.0.119
COPY entrypoint.rb entrypoint.rb
RUN ruby -c entrypoint.rb
RUN chmod +x entrypoint.rb
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def warn(file, message)
puts "Found these tex files: #{tex_files}" if verbose
magic_comment_matcher = /^\s*%\s*!\s*[Tt][Ee][xX]\s*root\s*=\s*(.*\.[Tt][Ee][xX]).*$/
tex_roots = tex_files.filter_map do |file|
text = File.read(file)
text = File.read(file, :encoding => 'UTF-8')
match = text[magic_comment_matcher, 1]
if match then
puts("File #{file} matched a magic comment pointing to #{match}")
Expand Down

0 comments on commit 00f254b

Please sign in to comment.