add gm flag

This commit is contained in:
Dmitry Shibanov 2022-05-26 09:02:39 +02:00
parent 081a3cf1a5
commit 70f9a8ace1
2 changed files with 2 additions and 2 deletions

2
dist/setup/index.js vendored
View file

@ -38402,7 +38402,7 @@ class PoetryCache extends cache_distributor_1.default {
const lines = stdout.trim().split('\n');
const config = {};
for (let line of lines) {
line = line.replace(/#.*$/, '');
line = line.replace(/#.*$/gm, '');
const [key, value] = line.split('=').map(part => part.trim());
config[key] = JSON.parse(value);
}

View file

@ -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());