mirror of
https://github.com/actions/setup-python
synced 2025-04-07 07:49:45 +00:00
Fix output for prerelease version of poetry (#409)
This commit is contained in:
@ -58,7 +58,7 @@ class PoetryCache extends CacheDistributor {
|
||||
const config: any = {};
|
||||
|
||||
for (let line of lines) {
|
||||
line = line.replace(/#.*$/, '');
|
||||
line = line.replace(/#.*$/gm, '');
|
||||
|
||||
const [key, value] = line.split('=').map(part => part.trim());
|
||||
|
||||
|
Reference in New Issue
Block a user