Skip to content

Commit d035b3b

Browse files
committed
fix(scripts): update assert to with
1 parent e7dcf6a commit d035b3b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/api-ja.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { resolve, join } from 'node:path';
22
import fetch from 'node-fetch';
33
import { existsSync, writeFileSync } from 'fs';
4-
import overrides from './data/meta-override.json' assert { type: 'json' };
4+
import overrides from './data/meta-override.json' with { type: 'json' };
55
import * as utils from './utils.mjs';
66

77
const apiOverrides = overrides.api;
@@ -74,8 +74,8 @@ ${encapsulation !== 'none' ? `<EncapsulationPill type="${encapsulation}" />` : '
7474
7575
7676
`;
77-
} else {
7877
}
78+
7979
const endIndex = readme.indexOf('\n');
8080

8181
const title = readme.substring(0, endIndex);

0 commit comments

Comments
 (0)