mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-13 01:22:11 +00:00
fix(gen-parser-map): update reference to the script in auto-generated files (#1036)
Co-authored-by: Luan <luan.lrt4@gmail.com>
This commit is contained in:
@@ -26,7 +26,7 @@ glob.sync('../src/parser/classes/**/*.{js,ts}', { cwd: __dirname })
|
||||
fs.writeFileSync(
|
||||
path.resolve(__dirname, '../src/parser/nodes.ts'),
|
||||
`// This file was auto generated, do not edit.
|
||||
// See ./scripts/build-parser-map.js
|
||||
// See ./dev-scripts/gen-parser-map.mjs
|
||||
|
||||
${import_list.join('\n')}
|
||||
`
|
||||
@@ -35,7 +35,7 @@ ${import_list.join('\n')}
|
||||
fs.writeFileSync(
|
||||
path.resolve(__dirname, '../src/parser/misc.ts'),
|
||||
`// This file was auto generated, do not edit.
|
||||
// See ./scripts/build-parser-map.js
|
||||
// See ./dev-scripts/gen-parser-map.mjs
|
||||
|
||||
${misc_imports.join('\n')}
|
||||
`
|
||||
|
||||
Reference in New Issue
Block a user