mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-01-05 12:06:36 -05:00
refactor(client): allow TS worker to initialize itself and have the client check readiness (#57055)
This commit is contained in:
committed by
GitHub
parent
e32c3d9a11
commit
c7936b44b9
@@ -1,7 +1,7 @@
|
||||
// TODO: this is a straight up copy of the format function from the client.
|
||||
// Figure out a way to share it.
|
||||
|
||||
import { inspect } from 'util/util';
|
||||
import { inspect } from 'util/util.js';
|
||||
|
||||
export function format(x) {
|
||||
// we're trying to mimic console.log, so we avoid wrapping strings in quotes:
|
||||
|
||||
Reference in New Issue
Block a user