Skip to content

Commit

Permalink
chore: use includes in deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tony19 committed Jul 22, 2022
1 parent 08b21b6 commit 942df43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ryu-cho.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ export class RyuCho {
let hasValidFile = false

if (this.config.pathStartsWith) {
log('W', 'pathStartsWith is deprecated. Use paths instead.')
log('W', '`path-starts-with` is deprecated. Use `includes` instead.')

hasValidFile = res.data.files!.some((file) => {
return file.filename!.startsWith(this.config.pathStartsWith!)
Expand Down

0 comments on commit 942df43

Please sign in to comment.