Skip to content

Commit

Permalink
chore: fix typo in console.warn (#353)
Browse files Browse the repository at this point in the history
# What ❔

fix typo in server.ts

## Why ❔

WARINING --> WARNING

## Checklist

- [x] PR title corresponds to the body of PR (we generate changelog
entries from PRs).
- [x] Tests for the changes have been added / updated.
- [x] Documentation comments have been added / updated.
- [x] Code has been formatted via `zk fmt` and `zk lint`.

Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
  • Loading branch information
hairyputtar and popzxc authored Nov 13, 2023
1 parent 3fe1bb2 commit 5f61d8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/zk/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export async function server(rebuildTree: boolean, uring: boolean, components?:

export async function externalNode(reinit: boolean = false) {
if (process.env.ZKSYNC_ENV != 'ext-node') {
console.warn(`WARINING: using ${process.env.ZKSYNC_ENV} environment for external node`);
console.warn(`WARNING: using ${process.env.ZKSYNC_ENV} environment for external node`);
console.warn('If this is a mistake, set $ZKSYNC_ENV to "ext-node" or other environment');
}

Expand Down

0 comments on commit 5f61d8d

Please sign in to comment.