diff --git a/flutter-l10n-flycheck.el b/flutter-l10n-flycheck.el index 7345fb9..9684a01 100644 --- a/flutter-l10n-flycheck.el +++ b/flutter-l10n-flycheck.el @@ -44,7 +44,7 @@ :command ("flutter" "packages" "pub" "run" "intl_translation:extract_to_arb" source) - :working-directory (lambda (_) (flutter-project-get-root)) + :working-directory (lambda (_) (ignore-errors (flutter-project-get-root))) :modes (dart-mode) :enabled flutter-l10n-flycheck--enable-p :error-patterns