summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/notice_store.rb')
-rw-r--r--lib/notice_store.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/notice_store.rb b/lib/notice_store.rb
index a825ee9..907c379 100644
--- a/lib/notice_store.rb
+++ b/lib/notice_store.rb
@@ -90,7 +90,7 @@ class Notice
metadata = YAML.load(content) || {}
metadata['updated_at'] = File.mtime(filename)
description = 'missing description'
- description_splitpos = undef
+ description_splitpos = nil
lines = content.split("\n").map { |l| l.strip }
if lines[0] == '---' and lines.grep('---').length() >= 2