@automattic/vip 2.28.0-dev7 → 2.28.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -25,6 +25,8 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
25
25
  * Internal dependencies
26
26
  */
27
27
 
28
+ // eslint-disable-next-line no-duplicate-imports
29
+
28
30
  let problemsFound = 0;
29
31
  let lineNum = 1;
30
32
  const tableNames = [];
@@ -118,9 +120,9 @@ const infoCheckFormatter = check => {
118
120
  };
119
121
  };
120
122
  function checkTablePrefixes(results, errors, infos) {
121
- const wpTables = [],
122
- notWPTables = [],
123
- wpMultisiteTables = [];
123
+ const wpTables = [];
124
+ const notWPTables = [];
125
+ const wpMultisiteTables = [];
124
126
  results.forEach(result => {
125
127
  const tableName = result.text || '';
126
128
  if (tableName.match(/^wp_(\d+_)/)) {
@@ -118,7 +118,10 @@ const findNestedDirectories = directory => {
118
118
  */
119
119
  exports.findNestedDirectories = findNestedDirectories;
120
120
  const getIndexPositionOfFolders = (folderPath, sites) => {
121
- let sitesIndex, siteIDIndex, yearIndex, monthIndex;
121
+ let sitesIndex;
122
+ let siteIDIndex;
123
+ let yearIndex;
124
+ let monthIndex;
122
125
  let pathMutate = folderPath; // Mutate `path` for multisites
123
126
 
124
127
  // Turn the path into an array to determine index position