Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Nicholas C. Zakas <nicholas@humanwhocodes.com>
  • Loading branch information
billiegoose and nzakas committed Oct 29, 2020
1 parent bafe281 commit ef2c62c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/user-guide/command-line-interface.md
Expand Up @@ -443,7 +443,7 @@ Example:

#### `--cache-strategy`

Strategy to use for detecting changed files. Can be either `metadata` or `content`. If no strategy is specified, `metadata` will be used.
Strategy for the cache to use for detecting changed files. Can be either `metadata` or `content`. If no strategy is specified, `metadata` will be used.

The `content` strategy can be useful in cases where the modification time of your files change even if their contents have not.

Expand Down
2 changes: 1 addition & 1 deletion lib/options.js
Expand Up @@ -220,7 +220,7 @@ module.exports = optionator({
type: "String",
default: "metadata",
enum: ["metadata", "content"],
description: "Strategy to use for detecting changed files"
description: "Strategy to use for detecting changed files in the cache"
},
{
heading: "Miscellaneous"
Expand Down

0 comments on commit ef2c62c

Please sign in to comment.