Skip to content

Commit 9a1f921

Browse files
committed
fix: update DSL basename stripping for .isc extension
1 parent 871e11d commit 9a1f921

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

lib/interscript/dsl.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ def self.parse(map_name, reverse: true)
4141
end
4242
library = path.end_with?(".iml")
4343

44-
map_name = File.basename(path, ".imp")
44+
map_name = File.basename(path, ".isc")
45+
map_name = File.basename(map_name, ".imp")
4546
map_name = File.basename(map_name, ".iml")
4647

4748
ruby = []

0 commit comments

Comments
 (0)