Skip to content

Commit

Permalink
Fix bug giving wrong destructured name
Browse files Browse the repository at this point in the history
  • Loading branch information
azimux committed Aug 23, 2024
1 parent b2aca3b commit d4ffb0f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## [0.0.5] - 2024-08-23
## [0.0.6] - 2024-08-22

- Fix remaining naming bug in model templates

## [0.0.5] - 2024-08-22

- Fix several naming/import issues in templates

Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
foobara-typescript-remote-command-generator (0.0.5)
foobara-typescript-remote-command-generator (0.0.6)
foobara
foobara-files-generator

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ def applicable?
end

def import_destructure
"* as #{scoped_name}Errors"
"* as #{scoped_short_name}Errors"
end
end
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def import_path
end

def import_destructure
"{ #{scoped_name} }"
"{ #{scoped_short_name} }"
end

def import_path_array
Expand Down
2 changes: 1 addition & 1 deletion version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Foobara
module TypescriptRemoteCommandGenerator
module Version
VERSION = "0.0.5".freeze
VERSION = "0.0.6".freeze
end
end
end

0 comments on commit d4ffb0f

Please sign in to comment.