Skip to content

Commit

Permalink
[build -> build2] Sizebot
Browse files Browse the repository at this point in the history
  • Loading branch information
acdlite committed Sep 21, 2021
1 parent 2375670 commit 162bb8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dangerfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const gzipSize = require('gzip-size');
const {readFileSync, statSync} = require('fs');

const BASE_DIR = 'base-build';
const HEAD_DIR = 'build2';
const HEAD_DIR = 'build';

const CRITICAL_THRESHOLD = 0.02;
const SIGNIFICANCE_THRESHOLD = 0.002;
Expand Down Expand Up @@ -127,7 +127,7 @@ function row(result) {
const resultsMap = new Map();

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

0 comments on commit 162bb8c

Please sign in to comment.