
    l:iv                     (    d dl Z d dlmZ dZd Zd Zy)    N)shellz%To resolve this issue, run:\s+(.*?)\nc                     d| j                   v S )Nz3Migrations are pending. To resolve this issue, run:)output)commands    ]/var/www/html/bot/venv/lib/python3.12/site-packages/thefuck/rules/rails_migrations_pending.pymatchr      s    @GNNRR    c                     t        j                  t        | j                        j	                  d      }t        j                  || j                        S )N   )researchSUGGESTION_REGEXr   groupr   and_script)r   migration_scripts     r   get_new_commandr      s9    yy!17>>BHHK::&77r	   )r   thefuck.shellsr   r   r   r    r	   r   <module>r      s    	   < S8r	   