Skip to content

Commit

Permalink
only warn when there are no packages
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Dec 17, 2024
1 parent e92196f commit 08862d5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,7 @@ def publish(self):

with os.scandir("repo") as d:
if not any(d):
print(t.red(" There are no packages"))
return
print(t.yellow(" There are no packages"))

PackageConfig.pull(self.image)
cidirname = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
Expand Down

0 comments on commit 08862d5

Please sign in to comment.