Skip to content

Commit

Permalink
format file
Browse files Browse the repository at this point in the history
  • Loading branch information
luabud committed Nov 17, 2022
1 parent 9ff03e4 commit 8bbd369
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,9 @@ async function addExtensionPackDependencies() {
packageJson.extensionPack ? packageJson.extensionPack : [],
);
// Remove potential duplicates.
packageJson.extensionPack = packageJson.extensionPack.filter((item, index) => packageJson.extensionPack.indexOf(item) === index);
packageJson.extensionPack = packageJson.extensionPack.filter(
(item, index) => packageJson.extensionPack.indexOf(item) === index,
);
await fsExtra.writeFile('package.json', JSON.stringify(packageJson, null, 4), 'utf-8');
}

Expand Down

0 comments on commit 8bbd369

Please sign in to comment.