jaydoane commented on code in PR #5546:
URL: https://github.com/apache/couchdb/pull/5546#discussion_r2112266022


##########
src/dreyfus/src/clouseau_rpc.erl:
##########
@@ -285,6 +287,14 @@ analyze(Analyzer, Text) ->
 version() ->
     rpc({main, clouseau()}, version).
 
+-spec clouseau_major_vsn() -> null | binary() | no_return().
+clouseau_major_vsn() ->
+    case version() of
+        {ok, <<Major, _/binary>>} -> <<Major>>;
+        {ok, null} -> null;

Review Comment:
   Yes, running latest Clouseau 2 on `master`:
   ```
   clouseau on  master is 📦 v2.25.1-SNAPSHOT via ☕ v1.7.0 arm64 took 3h45m18s
   ❯ make clouseau1
   ...
   ```
   yields this
   ```
   ([email protected])1> clouseau_rpc:version().
   {ok,null}
   ```



-- 
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]

Reply via email to