diff options
author | 2021-05-13 23:22:08 -0700 | |
---|---|---|
committer | 2021-05-13 23:22:08 -0700 | |
commit | c88625436cf866bdaa68249d10880a2271f611e0 (patch) | |
tree | e0505718a7e3db63390aa778c9111bb1401e2b26 /src/test/fixtures/img-bug.js | |
parent | 68aa7762170d06f0e049f8f2ec58c03bbab97dab (diff) | |
download | bun-c88625436cf866bdaa68249d10880a2271f611e0.tar.gz bun-c88625436cf866bdaa68249d10880a2271f611e0.tar.zst bun-c88625436cf866bdaa68249d10880a2271f611e0.zip |
keep
Former-commit-id: 778c24f176bade5658bcf1de1fb130d236a76890
Diffstat (limited to 'src/test/fixtures/img-bug.js')
-rw-r--r-- | src/test/fixtures/img-bug.js | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/src/test/fixtures/img-bug.js b/src/test/fixtures/img-bug.js index 207f59a09..1d5ec8a82 100644 --- a/src/test/fixtures/img-bug.js +++ b/src/test/fixtures/img-bug.js @@ -1,23 +1,10 @@ -function get() { - if (true) { - if (true) { - if (true) { - console.log("HI"); - if (true) { - return { hi: () => true }; - } - } - } +const hi = () => ({ + its_ireelevant: () => true, +}); +const hey = () => ({ + any_name_will_do: () => true, +}); - if (true) { - if (true) { - if (true) { - return { hi: () => true }; - } - } - } - } -} // function getWidths(width, layout, sizes) { // if (sizes && (layout === "fill" || layout === "responsive")) { // // Find all the "vw" percent sizes used in the sizes prop |