Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Commit

Permalink
Remove os.Stat call for now (#3672)
Browse files Browse the repository at this point in the history
  • Loading branch information
cnunciato authored Nov 29, 2023
1 parent 237f43a commit 1e857b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion themes/default/layouts/shortcodes/example-program.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
{{ if ne $program "" }}
{{ $root := slice "static" "programs" (printf "%s-%s" $path $language) }}
{{ $code := readFile (path.Join $root $program) }}
{{ $info := os.Stat (path.Join $root) }}
<div data-program-path="{{ $path }}" data-program-language="{{ $language }}" data-program-file="{{ $program }}" data-program-depfile="{{ $depfile }}">
{{ highlight $code $language }}
</div>
Expand Down

0 comments on commit 1e857b7

Please sign in to comment.