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

fix(nuemark2): line splitting, import, undefined blocks #375

Merged
merged 1 commit into from
Sep 27, 2024

Conversation

nobkd
Copy link
Collaborator

@nobkd nobkd commented Sep 26, 2024

This EOL from node:os does not work for splitting a file on line-endings, because EOL is \n on Mac/Linux and \r\n on Windows. BUT files ´on Windows can also just use \n line endings, as Windows can also handle those.

The package from npm is named nue-glow not glow (and should also have this name in your local installation)

When I ran bun test the block variable was undefined and some test errored on unpacking.

(There are still routing tests failing, idk why, but I currently don't care about them.)

@nobkd nobkd changed the title fix: line splitting, import, undefined blocks fix(nuemark2): line splitting, import, undefined blocks Sep 26, 2024
@tipiirai tipiirai merged commit d1e2d63 into nuejs:dev Sep 27, 2024
0 of 4 checks passed
@tipiirai
Copy link
Contributor

Thanks!

@tipiirai
Copy link
Contributor

I'm not sure about those routing tests whether they do the best job at finding issues: slow, complex and error-prone. I'd like to find a simpler alternative.

@nobkd nobkd deleted the fix/nuemark2-newline-split branch September 27, 2024 07:05
@nobkd nobkd mentioned this pull request Sep 27, 2024
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