File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 88
99setup (
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." ,
Original file line number Diff line number Diff 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 ():
You can’t perform that action at this time.
0 commit comments