Skip to content

Commit

Permalink
Merge pull request #282 from ably/fix-cdn-deploy-script
Browse files Browse the repository at this point in the history
release: fix cdn deploy script
  • Loading branch information
AndyTWF authored Jul 10, 2024
2 parents 0ba35c6 + a6271ae commit d65ada8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions scripts/cdn_deploy.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
#!/usr/bin/env node

const AWS = require('aws-sdk');
const fs = require('fs');
const path = require('path');
const { exec } = require('child_process');
const argv = require('minimist')(process.argv.slice(2));
import AWS from 'aws-sdk';
import fs from 'fs';
import path from 'path';
import { exec } from 'child_process';
import minimist from 'minimist';
const argv = minimist(process.argv.slice(2));
const S3_DEFAULT_BUCKET = 'prod-cdn.ably.com';
const S3_DEFAULT_ROOT = 'lib';

Expand Down

0 comments on commit d65ada8

Please sign in to comment.