Skip to content

Commit

Permalink
chore: update prlinter to detect new snapshot pattern
Browse files Browse the repository at this point in the history
  • Loading branch information
mrgrain committed Nov 1, 2022
1 parent 4894ef6 commit 7b8999f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/@aws-cdk/prlint/lint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ function integTestChanged(files: GitHubFile[]): boolean {
}

function integTestSnapshotChanged(files: GitHubFile[]): boolean {
return files.filter(f => f.filename.toLowerCase().includes("integ.snapshot")).length != 0;
return files.filter(f => f.filename.toLowerCase().includes(".snapshot")).length != 0;
}

function readmeChanged(files: GitHubFile[]): boolean {
Expand Down

0 comments on commit 7b8999f

Please sign in to comment.