Address comments
This commit is contained in:
@@ -4,7 +4,6 @@ const { S3, PutObjectCommand } = require('@aws-sdk/client-s3');
|
||||
const git = require('./util/git');
|
||||
const semver = require('semver');
|
||||
|
||||
const BUCKET = 'builds.handlebarsjs.com';
|
||||
const PUBLISHED_FILES = [
|
||||
'handlebars.js',
|
||||
'handlebars.min.js',
|
||||
@@ -108,7 +107,6 @@ function getLocalFile(filename) {
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
BUCKET,
|
||||
PUBLISHED_FILES,
|
||||
buildSuffixes,
|
||||
validateS3Env,
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
const fs = require('fs');
|
||||
const { S3, GetObjectCommand } = require('@aws-sdk/client-s3');
|
||||
|
||||
const BUCKET = 'test-bucket';
|
||||
|
||||
const {
|
||||
BUCKET,
|
||||
PUBLISHED_FILES,
|
||||
buildSuffixes,
|
||||
validateS3Env,
|
||||
@@ -34,7 +35,6 @@ afterAll(async () => {
|
||||
|
||||
beforeEach(() => {
|
||||
server.reset();
|
||||
server.createBucket(BUCKET);
|
||||
});
|
||||
|
||||
async function getObjectBody(key) {
|
||||
|
||||
Reference in New Issue
Block a user