Skip to content

Commit f581c77

Browse files
committed
fix(flow): work around on ini config file to correct ignore options
1 parent 66b8081 commit f581c77

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

src/formatters/IniFormatter.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ import { Formatter } from "./Formatter";
33

44
export class IniFormatter extends Formatter {
55
format(configs: object) {
6-
return encode(configs);
6+
const iniConfigs = encode(configs);
7+
return iniConfigs.replace(/\.\*=true/g, ".*");
78
}
89

910
formatFileName(fileName: string): string {

yarn.lock

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,11 +204,16 @@
204204
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-3.0.3.tgz#3dca0e3f33b200fc7d1139c0cd96c1268cadfd9d"
205205
integrity sha512-tHq6qdbT9U1IRSGf14CL0pUlULksvY9OZ+5eEgl1N7t+OA3tGvNpxJCzuKQlsNgCVwbAs670L1vcVQi8j9HjnA==
206206

207-
"@types/node@*", "@types/node@^14":
207+
"@types/node@*":
208208
version "14.14.31"
209209
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.31.tgz#72286bd33d137aa0d152d47ec7c1762563d34055"
210210
integrity sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g==
211211

212+
"@types/node@^14":
213+
version "14.14.35"
214+
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.35.tgz#42c953a4e2b18ab931f72477e7012172f4ffa313"
215+
integrity sha512-Lt+wj8NVPx0zUmUwumiVXapmaLUcAk3yPuHCFVXras9k5VT9TdhJqKqGVUQCD60OTMCl0qxJ57OiTL0Mic3Iag==
216+
212217
"@types/through@*":
213218
version "0.0.30"
214219
resolved "https://registry.yarnpkg.com/@types/through/-/through-0.0.30.tgz#e0e42ce77e897bd6aead6f6ea62aeb135b8a3895"

0 commit comments

Comments
 (0)