Selaa lähdekoodia

chore: move ts-ignore comment in release script

Evan You 3 vuotta sitten
vanhempi
commit
e4a2d11f82
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      scripts/release.js

+ 1 - 1
scripts/release.js

@@ -210,8 +210,8 @@ async function main() {
   step('\nGenerating changelog...')
   step('\nGenerating changelog...')
   await run(`pnpm`, ['run', 'changelog'])
   await run(`pnpm`, ['run', 'changelog'])
 
 
-  // @ts-ignore
   if (!skipPrompts) {
   if (!skipPrompts) {
+    // @ts-ignore
     const { yes: changelogOk } = await prompt({
     const { yes: changelogOk } = await prompt({
       type: 'confirm',
       type: 'confirm',
       name: 'yes',
       name: 'yes',