Skip to content
This repository was archived by the owner on May 15, 2023. It is now read-only.
This repository was archived by the owner on May 15, 2023. It is now read-only.

Problem with flutter pre-commit format? #1

@PopovVA

Description

@PopovVA

In file .pre-commit-config.yaml i have set start file of application for testing of functionality hook.

- repo: https://github.com/Cretezy/flutter-format-pre-commit
  rev: "master"
  hooks:
    - id: flutter-format
      files: lib/src/app.dart # Only format source file

Intentionally I indent in the file and after that I commit, I get an error -

Commit failed with error
0 files committed, 1 file failed to commit: test hook

Format Flutter Code......................................................Failed

hookid: flutter-format          
Files were modified by this hook. Additional output:        
Formatted lib/src/app.dart
find: ‘>     bin [’: No such file or directory

My OS is Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions