1
0
Эх сурвалжийг харах

Add missing command prefixes

Kid 4 жил өмнө
parent
commit
b39bebd27a

+ 5 - 0
lib/docs/filters/yarn/entries_berry.rb

@@ -4,6 +4,11 @@ module Docs
       def get_name
         name = at_css('h1').content
 
+        # TODO: remove when https://github.com/yarnpkg/berry/issues/3809 is resolved
+        if slug.start_with?('sdks') || slug.start_with?('pnpify')
+          name.prepend('yarn ')
+        end
+
         name
       end