Skip to content

Commit

Permalink
minor fix to example
Browse files Browse the repository at this point in the history
  • Loading branch information
75lb committed Sep 3, 2021
1 parent 83e3385 commit ac89938
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions example/api/index-replace.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
import Renamer from '../../index.js'
import Renamer from 'renamer'

const renamer = new Renamer()
const results = await renamer.rename({
files: ['./example/sandbox/**'],
replace: '{{index}}.file',
dryRun: true,
chain: 'find-replace'
dryRun: true
})
console.log('results', results)
2 changes: 1 addition & 1 deletion example/api/result-iterator.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Renamer from '../../index.js'
import Renamer from 'renamer'

const renamer = new Renamer()
const options = {
Expand Down

0 comments on commit ac89938

Please sign in to comment.