@uxf/scripts 1.5.2 → 1.5.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uxf/scripts",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -21,7 +21,7 @@ const URLS_LABEL = "🔗 Links:";
21
21
  * @return {string}
22
22
  */
23
23
  function createTabSpace(length = 1) {
24
- return "".padStart(4 * length);
24
+ return "".padStart(2 * length);
25
25
  }
26
26
 
27
27
  /**
@@ -219,6 +219,9 @@ async function testNested(urls, parentIndex, parentUrl, label) {
219
219
 
220
220
  stdout.write(label + "\n");
221
221
  for (let i = 0; i < urls.length; i++) {
222
+ if (TESTED_URLS.findIndex(result => result.url === urls[i]) !== -1) {
223
+ continue;
224
+ }
222
225
  printUrlInfo(urls[i], i, urls.length, `${createTabSpace(2)}(${parentIndex + 1}) `);
223
226
  const result = await testUrl(urls[i], parentUrl);
224
227
  printUrlResult(result);