diff options
author | 2023-09-30 02:50:38 -0700 | |
---|---|---|
committer | 2023-09-30 02:50:38 -0700 | |
commit | c21be13be42f6ca9ec368bd52eee4dc6129f156c (patch) | |
tree | 30ed73bb735eb19649c2daf42cc35aeb8bb914be /test/js/node/fs/cp.test.ts | |
parent | c0b758ad454780db7208a7600b0e73b213d3e7a9 (diff) | |
download | bun-c21be13be42f6ca9ec368bd52eee4dc6129f156c.tar.gz bun-c21be13be42f6ca9ec368bd52eee4dc6129f156c.tar.zst bun-c21be13be42f6ca9ec368bd52eee4dc6129f156c.zip |
tweak github actions (#6195)
* Discord comments
* better
* better
* actions
---------
Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
Diffstat (limited to 'test/js/node/fs/cp.test.ts')
-rw-r--r-- | test/js/node/fs/cp.test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/js/node/fs/cp.test.ts b/test/js/node/fs/cp.test.ts index eae8a0e77..33b9aa700 100644 --- a/test/js/node/fs/cp.test.ts +++ b/test/js/node/fs/cp.test.ts @@ -12,7 +12,7 @@ for (const [name, copy] of impls) { try { await (copy as any)(...args); } catch (e: any) { - if (e?.code?.toUpperCase() === "TODO") { + if ((e?.code? ?? "").toUpperCase() === "TODO") { throw new Error("Expected " + name + "() to throw non TODO error"); } return e; |