File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 8
8
9
9
setup (
10
10
name = "github-webhooks-listener" ,
11
- version = "0.1.1 " ,
11
+ version = "0.2.0 " ,
12
12
author = "Matt Suhay" ,
13
13
author_email = "matt@suhay.dev" ,
14
14
description = "A simple listener that will trigger custom scripts when it receives events from GitHub." ,
Original file line number Diff line number Diff line change @@ -20,10 +20,10 @@ def processRelease(repo, payload):
20
20
cwd = data ['cwd' ]
21
21
22
22
if path .exists (base_path / '..' / '.nvmrc' ):
23
- commands .append ('. ' + ( cwd / ' .nvm' / ' nvm.sh'). resolve () )
23
+ commands .append ('. ' + cwd + '/ .nvm/ nvm.sh' )
24
24
commands .append ('nvm use' )
25
25
elif 'node' in data .keys ():
26
- commands .append ('. ' + ( cwd / ' .nvm' / ' nvm.sh'). resolve () )
26
+ commands .append ('. ' + cwd + '/ .nvm/ nvm.sh' )
27
27
commands .append ('nvm use ' + data ['node' ])
28
28
29
29
if 'build' in data ['release' ].keys ():
You can’t perform that action at this time.
0 commit comments