Skip to content

Commit e07a655

Browse files
authored
Merge pull request #4 from suhay/2-cleanup
Fixing string issue
2 parents 4f2d5a3 + e3159b3 commit e07a655

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setup(
1010
name="github-webhooks-listener",
11-
version="0.1.1",
11+
version="0.2.0",
1212
author="Matt Suhay",
1313
author_email="matt@suhay.dev",
1414
description="A simple listener that will trigger custom scripts when it receives events from GitHub.",

src/release.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ def processRelease(repo, payload):
2020
cwd = data['cwd']
2121

2222
if path.exists(base_path / '..' / '.nvmrc'):
23-
commands.append('. ' + (cwd / '.nvm' / 'nvm.sh').resolve())
23+
commands.append('. ' + cwd + '/.nvm/nvm.sh')
2424
commands.append('nvm use')
2525
elif 'node' in data.keys():
26-
commands.append('. ' + (cwd / '.nvm' / 'nvm.sh').resolve())
26+
commands.append('. ' + cwd + '/.nvm/nvm.sh')
2727
commands.append('nvm use ' + data['node'])
2828

2929
if 'build' in data['release'].keys():

0 commit comments

Comments
 (0)