diff options
author | 2023-03-02 19:05:21 -0800 | |
---|---|---|
committer | 2023-03-02 19:05:21 -0800 | |
commit | f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a (patch) | |
tree | d29a4cae43dd8fbb36e67a82f929430735af4b5b /examples/macros/matchInFile.tsx | |
parent | 38d6cd6d15f2745d02fc757cc299691d82c7b4f5 (diff) | |
parent | 9388b3f8257bc2e580deaece4cd2677928104fc6 (diff) | |
download | bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.tar.gz bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.tar.zst bun-f7d6cc0ddf8aa75a8c7b6fb23a787c52648f2e8a.zip |
Merge branch 'main' into ciro/spawn-abort-signal-rebased
Diffstat (limited to 'examples/macros/matchInFile.tsx')
-rw-r--r-- | examples/macros/matchInFile.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/macros/matchInFile.tsx b/examples/macros/matchInFile.tsx index bd1c92dea..e434d1dec 100644 --- a/examples/macros/matchInFile.tsx +++ b/examples/macros/matchInFile.tsx @@ -12,10 +12,10 @@ export function matchInFile(callExpression: BunAST.CallExpression) { <array> {file .split("\n") - .map((line) => line.match(matcher)) + .map(line => line.match(matcher)) .filter(Boolean) .reverse() - .map((line) => ( + .map(line => ( <string value={line[0]} /> ))} </array> |