From b8441246fe70f654cf7c85adbe90291808e00da5 Mon Sep 17 00:00:00 2001 From: Cornelius Roemer Date: Sun, 24 Sep 2023 01:13:12 +0200 Subject: [PATCH] Update paths.md: fix typo --- docs/paths.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/paths.md b/docs/paths.md index 23aa3ba..94330eb 100644 --- a/docs/paths.md +++ b/docs/paths.md @@ -4,7 +4,7 @@ ## Standard (default) -In standard path mode, the you can specify a file or directory path directly. If specifying a file, it will simply include the file. If specifying a directory, it will include every file with the correct extension (as specified in `extensions`, default is `yml` and `yaml`). +In standard path mode, you can specify a file or directory path directly. If specifying a file, it will simply include the file. If specifying a directory, it will include every file with the correct extension (as specified in `extensions`, default is `yml` and `yaml`). ## Doublestar @@ -12,4 +12,4 @@ In Doublestar mode, paths are specified using the format explained in the [doubl ## Include and Exclude -In both modes, `yamlfmt` will allow you to configure include and exclude paths. These can be paths to files in Standard or Doublestar modes, paths to directories in Standard mode, and valid doublestar patterns in Doublestar mode. These paths should be specified **relative to the working directory of `yamlfmt`**. They will work as absolute paths if both the includes and excludes are specified as absolute paths or if both are relative paths, however it will not work as expected if they are mixed together. It usually easier to reason about includes and excludes when always specifying both as relative paths from the directory `yamlfmt` is going to be run in. \ No newline at end of file +In both modes, `yamlfmt` will allow you to configure include and exclude paths. These can be paths to files in Standard or Doublestar modes, paths to directories in Standard mode, and valid doublestar patterns in Doublestar mode. These paths should be specified **relative to the working directory of `yamlfmt`**. They will work as absolute paths if both the includes and excludes are specified as absolute paths or if both are relative paths, however it will not work as expected if they are mixed together. It usually easier to reason about includes and excludes when always specifying both as relative paths from the directory `yamlfmt` is going to be run in.