mirror of
https://gitea.com/actions/setup-python.git
synced 2025-08-20 19:43:22 +08: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