Skip to content

Commit

Permalink
assert
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Aug 11, 2023
1 parent f70d230 commit 1fb1651
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions scripts/build/shims/assert.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
const assert = () => {};
assert.ok = assert;
assert.strictEqual = assert;
const assert = new Proxy(() => {}, { get: () => assert });

export default assert;
2 changes: 1 addition & 1 deletion scripts/build/shims/chalk.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
const chalk = new Proxy(String, {get: () => chalk})
const chalk = new Proxy(String, { get: () => chalk });

export default chalk;

0 comments on commit 1fb1651

Please sign in to comment.