diff options
author | Sebastian <sebasjm@gmail.com> | 2024-02-04 17:01:13 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2024-02-04 17:01:13 -0300 |
commit | b30c7dcf667e3d94a8a3ad170d53ede70e1f0be1 (patch) | |
tree | 5dcec487adb2e2c45cce1d15e3101d05ca1a0fb1 /packages/taler-util/src/globbing/minimatch.ts | |
parent | 3028ce1b3818b4b740f4343506dac746af0c57f4 (diff) | |
download | wallet-core-b30c7dcf667e3d94a8a3ad170d53ede70e1f0be1.tar.xz |
AcceptTipRequest also accept TxID
Diffstat (limited to 'packages/taler-util/src/globbing/minimatch.ts')
-rw-r--r-- | packages/taler-util/src/globbing/minimatch.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/taler-util/src/globbing/minimatch.ts b/packages/taler-util/src/globbing/minimatch.ts index b23de4e92..30391ba26 100644 --- a/packages/taler-util/src/globbing/minimatch.ts +++ b/packages/taler-util/src/globbing/minimatch.ts @@ -341,9 +341,9 @@ export class Minimatch { pattern.charAt(0) === "." ? "" // anything : // not (start or / followed by . or .. followed by / or end) - options.dot - ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" - : "(?!\\.)"; + options.dot + ? "(?!(?:^|\\/)\\.{1,2}(?:$|\\/))" + : "(?!\\.)"; var self = this; function clearStateChar() { @@ -874,8 +874,8 @@ export class Minimatch { var twoStar = options.noglobstar ? star : options.dot - ? twoStarDot - : twoStarNoDot; + ? twoStarDot + : twoStarNoDot; var flags = options.nocase ? "i" : ""; var re = (set as any) @@ -885,8 +885,8 @@ export class Minimatch { return p === GLOBSTAR ? twoStar : typeof p === "string" - ? regExpEscape(p) - : (p as any)._src; + ? regExpEscape(p) + : (p as any)._src; }) .join("\\/"); }) |