mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 20:21:25 +08:00
DEV: correct typo in param name
Followup to c457d3bf It did cause a test suite failure as expected
This commit is contained in:
@ -575,7 +575,7 @@ class Plugin::Instance
|
|||||||
if File.exists?(js_file_path)
|
if File.exists?(js_file_path)
|
||||||
current_contents = File.read(js_file_path)
|
current_contents = File.read(js_file_path)
|
||||||
if current_contents != contents
|
if current_contents != contents
|
||||||
File.write(js_file_path, conten)
|
File.write(js_file_path, contents)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
write_asset(js_file_path, contents)
|
write_asset(js_file_path, contents)
|
||||||
|
Reference in New Issue
Block a user