Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove empty lines from remappings #4299

Merged
merged 3 commits into from
Dec 4, 2023
Merged

remove empty lines from remappings #4299

merged 3 commits into from
Dec 4, 2023

Conversation

Aniket-Engg
Copy link
Collaborator

@Aniket-Engg Aniket-Engg commented Dec 4, 2023

without this, it shows error: Invalid remapping: ""

Copy link

netlify bot commented Dec 4, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 7df7a4c
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/656dc93daa6e7b0008d9b3a8
😎 Deploy Preview https://deploy-preview-4299--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@Aniket-Engg Aniket-Engg added this to In progress in v0.38.1 via automation Dec 4, 2023
@Aniket-Engg Aniket-Engg added the ready-to-review PR ready to review label Dec 4, 2023
@@ -111,10 +111,10 @@ export class CompileTabLogic {
this.event.emit('removeAnnotations')
this.event.emit('startingCompilation')
if(await this.api.fileExists('remappings.txt')) {
this.api.readFile('remappings.txt').then( remappings => {
this.api.readFile('remappings.txt').then(remappings => {
this.compiler.set('remappings', remappings.split('\n'))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

how is it handling an empty line?

v0.38.1 automation moved this from In progress to Reviewer approved Dec 4, 2023
@yann300 yann300 merged commit 790861d into master Dec 4, 2023
32 checks passed
v0.38.1 automation moved this from Reviewer approved to Done Dec 4, 2023
@yann300 yann300 deleted the fixremap branch December 4, 2023 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-review PR ready to review
Projects
No open projects
v0.38.1
  
Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants