1
0
mirror of synced 2025-12-22 03:16:52 -05:00

Remove import x statements (#20594)

* Clear out most import x

* Update rimraf use

* Move up readme blocks in scripts
This commit is contained in:
Kevin Heis
2021-07-29 13:28:30 -07:00
committed by GitHub
parent 1ed18e1448
commit b29e37318a
84 changed files with 590 additions and 563 deletions

View File

@@ -1,4 +1,13 @@
#!/usr/bin/env node
// [start-readme]
//
// Run this script to fix known frontmatter errors by copying values from english file
// Currently only fixing errors in: 'type', 'changelog'
// Please double check the changes created by this script before committing.
//
// [end-readme]
import { fileURLToPath } from 'url'
import path from 'path'
import { execSync } from 'child_process'
@@ -13,14 +22,6 @@ import ghesReleaseNotesSchema from '../tests/helpers/schemas/release-notes-schem
import revalidator from 'revalidator'
const __dirname = path.dirname(fileURLToPath(import.meta.url))
// [start-readme]
//
// Run this script to fix known frontmatter errors by copying values from english file
// Currently only fixing errors in: 'type', 'changelog'
// Please double check the changes created by this script before committing.
//
// [end-readme]
main()
async function main() {