aboutsummaryrefslogtreecommitdiff
path: root/lib/file_hash.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-07-22 15:01:05 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-07-22 15:01:05 -0700
commitaddac10a47693a976808bf75fe63aed19f8dbb63 (patch)
treeb072998c987f86eb1ecd381fd36eee0d1e3a6091 /lib/file_hash.nom
parent4fa9757fa27d79a0cda399dcf3b711f4d0d60457 (diff)
Re-autoformatted everything. The main changes are: no longer adding a
newline after 1-line indented code inside blocks, and forcing files to have a trailing newline. The trailing newline thing created a lot of spurious changes.
Diffstat (limited to 'lib/file_hash.nom')
-rw-r--r--lib/file_hash.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file_hash.nom b/lib/file_hash.nom
index 7c5668e..07fe275 100644
--- a/lib/file_hash.nom
+++ b/lib/file_hash.nom
@@ -25,4 +25,4 @@ action [hash %, sha1 %]:
=lua ".."
\%hash:gsub('.', function(c) return string.format('%02x', string.byte(c)) end)
-parse [hash of file %filename] as (sha1 (=lua "io.open(\%filename):read('*a')")) \ No newline at end of file
+parse [hash of file %filename] as (sha1 (=lua "io.open(\%filename):read('*a')"))