Skip to content

BUG: Hard-coded filename instead of using the provided file parameter#86

Merged
ClementBeal merged 3 commits intoClementBeal:mainfrom
LongDinhh:main
Oct 18, 2025
Merged

BUG: Hard-coded filename instead of using the provided file parameter#86
ClementBeal merged 3 commits intoClementBeal:mainfrom
LongDinhh:main

Conversation

@LongDinhh
Copy link
Contributor

// Line 41 - BUG: Hard-coded filename instead of using the provided file parameter File("a_new.mp4").writeAsBytesSync(byteBuilder.toBytes());

Current Issues with the Package:

❌ Writes to a hard-coded file "a_new.mp4"
❌ Does not use the file parameter passed into the function
❌ Causes a permission error due to attempting to write in the root directory

//Fixed file.writeAsBytesSync(byteBuilder.toBytes());

@ClementBeal
Copy link
Owner

Hi!

Thank you for your PR! I'm going to merge it. Sorry for the delay!

@ClementBeal ClementBeal merged commit a16f333 into ClementBeal:main Oct 18, 2025
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants