Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

Commit

Permalink
feat(highlightArray): fix linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
marielaures committed Dec 12, 2017
1 parent ae0a154 commit 8d838d2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docgen/plugins/rev-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,10 @@ function renameReferences(
return replace({ from, to, files: inFiles });
}

function computeFiles(
[filesGlob, replaceFilesGlob]: Array<string, string>
): Promise<*> {
function computeFiles([filesGlob, replaceFilesGlob]: Array<
string,
string
>): Promise<*> {
const files = glob.sync(`${DIST_PATH}/${filesGlob}`);
return computeHashForFiles(files)
.then(renameFiles)
Expand Down

0 comments on commit 8d838d2

Please sign in to comment.