(version)
| 14 | return cache[name] || null; |
| 15 | } |
| 16 | function writeVersion(version) { |
| 17 | const content = `/* Do NOT modify this file; see /src.ts/_admin/update-version.ts */\n\n/**\n * The current version of Ethers.\n */\nexport const version: string = "${version}";\n`; |
| 18 | atomicWrite(resolve("src.ts/_version.ts"), content); |
| 19 | } |
| 20 | (async function () { |
| 21 | // Local pkg |
| 22 | const pkgPath = resolve("package.json"); |
no test coverage detected