Skip to content
This repository was archived by the owner on May 12, 2025. It is now read-only.

add file-source handler#123

Merged
OlegDokuka merged 1 commit intomainfrom
main-file-source-handler
Oct 4, 2024
Merged

add file-source handler#123
OlegDokuka merged 1 commit intomainfrom
main-file-source-handler

Conversation

@OlegDokuka
Copy link
Copy Markdown
Contributor

What's changed?

What's your motivation?

Anything in particular you'd like reviewers to focus on?

Anyone you would like to review specifically?

Have you considered any alternatives or workarounds?

Any additional context

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

} else {
generator.writeString("parse-javascript-file");
generator.writeString(input.getPath().toString());
generator.writeString(relativeTo.toString());
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Whether we relativize the source file path on the Java or JS side doesn't really matter, I suppose.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

From what I learned, doing c# matters. CLI is the source of trues, so it knows what is the root dir and it better to pass it from that side

@OlegDokuka OlegDokuka merged commit 4bd243b into main Oct 4, 2024
@OlegDokuka OlegDokuka deleted the main-file-source-handler branch October 4, 2024 09:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants