Skip to content

Commit

Permalink
Merge branch 'development' into philip-merge-tx-validation2
Browse files Browse the repository at this point in the history
  • Loading branch information
stringhandler authored Oct 6, 2021
2 parents 8ed96ab + ce17627 commit a2fcc70
Show file tree
Hide file tree
Showing 14 changed files with 2,498 additions and 5,845 deletions.
1 change: 1 addition & 0 deletions applications/daily_tests/.nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
lts/erbium
2 changes: 1 addition & 1 deletion applications/daily_tests/automatic_recovery_test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const fs = require("fs/promises");
const fs = require("fs").promises;
const yargs = require("yargs");
const path = require("path");
const helpers = require("./helpers");
Expand Down
2 changes: 1 addition & 1 deletion applications/daily_tests/automatic_sync_test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
const fs = require("fs/promises");
const fs = require("fs").promises;
const yargs = require("yargs");
const path = require("path");
const helpers = require("./helpers");
Expand Down
2 changes: 1 addition & 1 deletion applications/daily_tests/cron_jobs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const { CronJob } = require("cron");
const fs = require("fs/promises");
const { promises: fs } = require("fs");
const {
sendWebhookNotification,
getWebhookUrl,
Expand Down
2 changes: 1 addition & 1 deletion applications/daily_tests/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ function readLastNLines(file, n) {
}

async function emptyFile(file) {
const fs = require("fs/promises");
const fs = require("fs").promises;
await fs.mkdir(path.dirname(file), { recursive: true });
try {
await fs.truncate(file, 0);
Expand Down
Loading

0 comments on commit a2fcc70

Please sign in to comment.