Skip to content

Commit

Permalink
🩹 fix(sak/js#diff): Correctly extrapolate repository slug.
Browse files Browse the repository at this point in the history
  • Loading branch information
make-github-pseudonymous-again committed Mar 9, 2021
1 parent a4d496f commit e06d5fe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sak/js.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ def diff(cwd = '.'):
author = package['author']
homepage = package['homepage']
repository = '/'.join(package['repository']['url'].split('/')[3:])
if repository[-4:] == '.git': repository = repository[:-4]
keywords = package['keywords']

emoji = None
Expand Down

0 comments on commit e06d5fe

Please sign in to comment.