Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 162bb8c

Browse files
committedSep 21, 2021
[build -> build2] Sizebot
1 parent 2375670 commit 162bb8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎dangerfile.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const gzipSize = require('gzip-size');
3535
const {readFileSync, statSync} = require('fs');
3636

3737
const BASE_DIR = 'base-build';
38-
const HEAD_DIR = 'build2';
38+
const HEAD_DIR = 'build';
3939

4040
const CRITICAL_THRESHOLD = 0.02;
4141
const SIGNIFICANCE_THRESHOLD = 0.002;
@@ -127,7 +127,7 @@ function row(result) {
127127
const resultsMap = new Map();
128128

129129
// Find all the head (current) artifacts paths.
130-
const headArtifactPaths = await glob('**/*.js', {cwd: 'build2'});
130+
const headArtifactPaths = await glob('**/*.js', {cwd: 'build'});
131131
for (const artifactPath of headArtifactPaths) {
132132
try {
133133
// This will throw if there's no matching base artifact

0 commit comments

Comments
 (0)
Please sign in to comment.