Skip to content

Commit

Permalink
Fixed unused variables from destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
markokajzer committed Sep 10, 2018
1 parent eb87f29 commit 45f37de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/postbuild.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const options = {
files: ['dist/**/*.js'],
from: from,
to: (...args: Array<string>) => {
const [match, _, __, filename] = args;
const [match, , , filename] = args;
const [replacePattern, ...file] = match.split('/');

return path.relative(path.join(process.cwd(), path.dirname(filename)),
Expand Down

0 comments on commit 45f37de

Please sign in to comment.