mdedetrich commented on code in PR #511:
URL: https://github.com/apache/incubator-pekko/pull/511#discussion_r1278552403


##########
project/ScalafixSupport.scala:
##########


Review Comment:
   Initially this source file needed the `package sbt` in order to access the 
`SimpleCommand` datastructure which is package private for `sbt`. Using 
`SimpleCommand` in isn't intentional, instead you are supposed to use the 
`nameOption` method, see 
https://github.com/sbt/sbt/blob/e1ffc2af08f59464e6a4063026337708d390610a/main-command/src/main/scala/sbt/Command.scala#L31-L34
   
   Which matches against `SimpleCommand` and returns you the `name` if its a 
`SimpleCommand`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to