10000 Rome init missing argument by jamiebuilds · Pull Request #1515 · rome/tools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Aug 31, 2023. It is now read-only.

Rome init missing argument #1515

Closed
wants to merge 1 commit into from
Closed

Rome init missing argument #1515

wants to merge 1 commit into from

Conversation

jamiebuilds
Copy link
Contributor

@ematipico in response to #1418 (comment)

Actually, the argument is expected to be passed. One of the most recent refactors broke the passage of arguments between commands using the Rome server.

I'm wondering what you expect this argument to be?

@jamiebuilds jamiebuilds requested a review from ematipico May 18, 2021 20:18
@@ -96,7 +96,7 @@ export default createServerCommand<Flags>({
// - second part creates a basic configuration file and and the .editorconfig
// part of the command where we check if a configuration already exists
if (checkProject) {
req.expectArgumentLength(1);
req.expectArgumentLength(1); // TODO: Does this belong here at all?
Copy link
Contributor
@ematipico ematipico May 19, 2021

Choose a reason for hiding this comment

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

This isn't correct. Probably expectArgumentLength now works as expected. Although, even if we removed this, there would be few issues that I need to solve. I am already working on them, I will have PR open soon.

@ematipico ematipico deleted the 1418 branch May 19, 2021 18:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0