@samitouri / QOS-React-2 / commits / 162bb8c978

[build -> build2] Sizebot

Andrew Clark committed Sep 21, 2021 at 12:06 UTC 162bb8c9780e20c988c42fe25e81da03c3fb9f6c
1 file changed +2 -2
dangerfile.js
+2 -2
@@ -35,7 +35,7 @@ const gzipSize = require('gzip-size');
35 const {readFileSync, statSync} = require('fs');
36
37 const BASE_DIR = 'base-build';
38 -const HEAD_DIR = 'build2';
38 +const HEAD_DIR = 'build';
39
40 const CRITICAL_THRESHOLD = 0.02;
41 const SIGNIFICANCE_THRESHOLD = 0.002;
@@ -127,7 +127,7 @@ function row(result) {
127 const resultsMap = new Map();
128
129 // Find all the head (current) artifacts paths.
130 - const headArtifactPaths = await glob('**/*.js', {cwd: 'build2'});
130 + const headArtifactPaths = await glob('**/*.js', {cwd: 'build'});
131 for (const artifactPath of headArtifactPaths) {
132 try {
133 // This will throw if there's no matching base artifact