mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
Fix the ELPA-release code in the Rakefile.
This commit is contained in:
parent
eca9a4059b
commit
f858cce34f
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -158,7 +158,7 @@ def mode_unchanged?(mode, version)
|
|||
mode_version = File.read("extra/#{mode}-mode.el").scan(/^;; Version: (.*)$/).first.first
|
||||
return false if mode_version == version
|
||||
return true unless changed_since?(mode_version, "extra/#{mode}-mode.el")
|
||||
raise "#{mode}-mode.el version is #{haml_mode_version.inspect}, but it has changed as of #{version.inspect}"
|
||||
raise "#{mode}-mode.el version is #{version.inspect}, but it has changed as of #{version.inspect}"
|
||||
return false
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue