Skip to content

Commit

Permalink
rm debug flag; require MDS >= 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
morganherlocker committed Dec 3, 2019
1 parent 045b94b commit fb8d3d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ SharedStreets Mobility Metrics is an open source command line interface (CLI) an

- OSX or Linux (docker or WSL is recommended for Windows users)
- Node.js v11
- Valid MDS credentials for at least one live MDS Provider API
- Valid MDS credentials for at least one live MDS Provider API supporting MDS v0.3 or higher

## API

Expand Down
4 changes: 2 additions & 2 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ if (config.zones) {
const publicPath = path.resolve(argv.public);
const cachePath = path.resolve(argv.cache);

const debug = argv.debug;
const startDay = moment(argv.startDay, "YYYY-MM-DD");
const endDay = moment(argv.endDay, "YYYY-MM-DD");
const reportDay = moment(argv.reportDay, "YYYY-MM-DD");
Expand Down Expand Up @@ -86,7 +85,8 @@ const backfill = async function() {

backfill()
.then(() => {
if (!debug) rimraf.sync(path.join(__dirname, cachePath));
rimraf.sync(cachePath);

console.log("\ncompleted backfill");
})
.catch(err => {
Expand Down

0 comments on commit fb8d3d3

Please sign in to comment.