Skip to content

Commit

Permalink
Keep original filename when saving plain schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
kwkwan authored and ronaldtse committed Jan 10, 2025
1 parent 598b433 commit 875b972
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/suma/express_schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def to_plain
end

def filename_plain
File.join(@output_path, type, id, "#{id}.exp")
File.join(@output_path, type, id, File.basename(@path))
end

def save_exp
Expand Down

0 comments on commit 875b972

Please sign in to comment.