summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Ragheb <ben@benzado.com>2022-11-05 13:01:37 -0400
committerBenjamin Ragheb <ben@benzado.com>2022-11-05 13:01:37 -0400
commitf27dc560ad3e66f99d6ccabc7d51ddf3c329354c (patch)
treed2c6a7154a31cdf97b5d23e2b048812ca82e042a
parentb6ac61e549bdae0f73c98a8c91ad9fe9a7470bc1 (diff)
Fix bug that prevented path from being printed
-rwxr-xr-xsrc/index.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.rb b/src/index.rb
index c719fcc..ec861a5 100755
--- a/src/index.rb
+++ b/src/index.rb
@@ -21,7 +21,7 @@ ARGV.each do |arg|
if match
printf INSERT_SQL, quote(match[1]), 'Guide', path.basename
else
- $stderr.puts "%{path.basename}: no title found"
+ $stderr.puts "#{path}: no title found"
end
end
end