Skip to content

Commit

Permalink
fix: Fix metadata method in Hatch_cli class
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanzhi33 committed Feb 29, 2024
1 parent d969be9 commit 4df49af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/spkg/hatch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ def simple_config(self):
self.config("template.licenses.default", "['GPL-3.0-only']")
self.config("template.plugins.default.tests", "false")
def metadata(self, field):
return self.hatch_output(["project", "metadata", field])
result = self.hatch_output(["project", "metadata", field])
return result[:-1]
def clean(self):
self.hatch(["clean"])
def build(self):
Expand Down

0 comments on commit 4df49af

Please sign in to comment.