We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 20aec40 commit 4769792Copy full SHA for 4769792
test/src/index.ts
@@ -158,12 +158,12 @@ export class TestPage {
158
// If this is a Travis CI build, store the screenshots
159
// for later.
160
if (process.env.TRAVIS_OS_NAME && process.env.TRAVIS_JOB_NUMBER) {
161
+ const makePublic = true;
162
const bucketPath = `Travis-${process.env.TRAVIS_JOB_NUMBER}/${fileName}`;
163
let buf: Buffer = typeof img === "string" ? Buffer.from(img as string) : img;
164
try {
- const url = await bucket.write(bucketPath, buf);
165
+ const url = await bucket.write(bucketPath, buf, makePublic);
166
logger.info("stored screenshot",
- field("localPath", options.path),
167
field("bucketPath", bucketPath),
168
field("url", url),
169
);
0 commit comments