Remove import x statements (#20594)
* Clear out most import x * Update rimraf use * Move up readme blocks in scripts
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user