Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

epubmaker.rbに定義されていない変数がある #1755

Closed
ghost opened this issue Oct 17, 2021 · 3 comments
Closed

epubmaker.rbに定義されていない変数がある #1755

ghost opened this issue Oct 17, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 17, 2021

以下のeが定義されていません。
https://github.com/kmuto/review/blob/master/lib/review/epubmaker.rb#L122

以下のコミットの影響のようで、元々はbegin/rescureで書かれていたようです。
edfd6c5

@kmuto
Copy link
Owner

kmuto commented Oct 17, 2021

おぉ…ありがとうございます!

@takahashim
どうしましょうか、これは。エラーだけど警告にする、かつcheck_versionが作った例外メッセージをそのまま取り込むとするなら、

      begin
        @config.check_version(ReVIEW::VERSION, exception: true)
      rescue ConfigError => e
        warn e.message
      end

でしょうか。

@takahashim
Copy link
Collaborator

確かにここはバグですね。失礼いたしました。
PR投げておきます。

kmuto added a commit that referenced this issue Oct 19, 2021
@ghost
Copy link
Author

ghost commented Oct 23, 2021

masterに修正が適用されましたのでcloseいたします。

@ghost ghost closed this as completed Oct 23, 2021
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants