We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec8407f commit 1ea5f9bCopy full SHA for 1ea5f9b
lib/utils.js
@@ -1,14 +1,9 @@
1
const fs = require('fs-extra');
2
const path = require('path');
3
const glob = require('glob');
4
+const flatten = require('lodash/flatten');
5
const promiseMap = require('p-map');
6
-const flatten = (arr) => {
7
- return arr.reduce((acc, it) => {
8
- return acc.concat(it);
9
- }, []);
10
-};
11
-
12
module.exports = {
13
parsePlatform(pagefile) {
14
return path.dirname(pagefile);
0 commit comments