|
@@ -259,11 +259,11 @@ task :lint do
|
|
end
|
|
end
|
|
# check for default text
|
|
# check for default text
|
|
if line.strip == 'Double-click this passage to edit it.'
|
|
if line.strip == 'Double-click this passage to edit it.'
|
|
- #puts "#{file.source_file}:#{lineno} has the default text \"Double-click this passage to edit it.\""
|
|
|
|
|
|
+ puts "#{file.source_file}:#{lineno} has the default text \"Double-click this passage to edit it.\""
|
|
end
|
|
end
|
|
# check for TODO/FIXME
|
|
# check for TODO/FIXME
|
|
if line.include?('TODO') || line.include?('FIXME')
|
|
if line.include?('TODO') || line.include?('FIXME')
|
|
- #puts "#{file.source_file}:#{lineno} has TODO/FIXME text: #{line}"
|
|
|
|
|
|
+ puts "#{file.source_file}:#{lineno} has TODO/FIXME text: #{line}"
|
|
end
|
|
end
|
|
# check for <<include>> as string
|
|
# check for <<include>> as string
|
|
if line.include?('<<include') && !line.include?('[[')
|
|
if line.include?('<<include') && !line.include?('[[')
|