Skip to content

Commit 4afc46b

Browse files
committed
ci: upgrade node
1 parent 7244880 commit 4afc46b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
- uses: actions/checkout@v2
1010
- uses: actions/setup-node@v1
1111
with:
12-
node-version: '12.x'
12+
node-version: 14
1313
- run: npm i -g yarn
1414
- run: yarn set version 2
1515
- run: cat .yarnrc_patch.yml >> .yarnrc.yml

src/elements/base.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,7 @@ export class StatsBase<T extends IStatsBaseProps, O extends IStatsBaseOptions> e
251251
radius: options.itemRadius,
252252
borderWidth: options.itemBorderWidth,
253253
};
254-
const outliers = new Set(props.outliers ?? []);
254+
const outliers = new Set(props.outliers || []);
255255

256256
if (vert) {
257257
props.items.forEach((v) => {

0 commit comments

Comments
 (0)