Skip to content

Commit

Permalink
Fix readme typo (#91)
Browse files Browse the repository at this point in the history
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
  • Loading branch information
alkorlos and sindresorhus committed Dec 10, 2023
1 parent 2c0d79c commit 4e59a01
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,11 @@ Named imports:
###### Example

```js
import {compareContents} from 'gulp-changed';

export const jade = () => (
gulp.src('src/**/*.jade')
.pipe(changed('app', {hasChanged: changed.compareContents}))
.pipe(changed('app', {hasChanged: compareContents}))
.pipe(jade())
.pipe(gulp.dest('app'))
);
Expand Down

0 comments on commit 4e59a01

Please sign in to comment.