You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I used standard in my rails-project with https://bun.sh package manager
$ bunx standard --fix
What I expected to happen
No error, all problems are corrected
What seems to have happened
bunx standard --fix
standard: Use JavaScript Standard Style (https://standardjs.com)
/Users/alec/Code/Internal/CosmoPort/cosmoport/bun.config.js:11:24: 'Bun' is not defined. (no-undef)
importpathfrom'path'importfsfrom'fs'constconfig={sourcemap: 'external',entrypoints: ['app/javascript/application.js'],outdir: path.join(process.cwd(),'app/assets/builds')}constbuild=async(config)=>{constresult=awaitBun.build(config)/// <----- problem on this line with Bunif(!result.success){if(process.argv.includes('--watch')){console.error('Build failed')for(constmessageofresult.logs){console.error(message)}}else{thrownewAggregateError(result.logs,'Build failed')}}};(async()=>{awaitbuild(config)if(process.argv.includes('--watch')){fs.watch(path.join(process.cwd(),'app/javascript'),{recursive: true},(eventType,filename)=>{console.log(`File changed: ${filename}. Rebuilding...`)build(config)})}else{process.exit(0)}})()
The text was updated successfully, but these errors were encountered:
Here's what I did
I used
standard
in my rails-project with https://bun.sh package managerWhat I expected to happen
No error, all problems are corrected
What seems to have happened
The text was updated successfully, but these errors were encountered: