Skip to content

Commit

Permalink
change destructuring (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Nogueras authored Jan 31, 2022
1 parent 816993e commit 4666865
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/agendash-standalone-hapi.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
"use strict";
const Agenda = require("agenda");
const { Agenda } = require("agenda");
const agendash = require("../app");
const Hapi = require("@hapi/hapi");
const program = require("commander");
Expand Down
2 changes: 1 addition & 1 deletion bin/agendash-standalone-koa.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
"use strict";
const Agenda = require("agenda");
const { Agenda } = require("agenda");
const agendash = require("../app");
const Koa = require("koa");
const program = require("commander");
Expand Down
2 changes: 1 addition & 1 deletion bin/agendash-standalone.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env node
"use strict";
const http = require("http");
const Agenda = require("agenda");
const { Agenda } = require("agenda");
const agendash = require("../app");
const express = require("express");
const program = require("commander");
Expand Down
2 changes: 1 addition & 1 deletion lib/middlewares/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Then use it as follows:
'use strict';

const Hapi = require('hapi');
const Agenda = require('agenda');
const { Agenda } = require('agenda');
const Agendash = require('agendash');

var agenda = new Agenda({
Expand Down
2 changes: 1 addition & 1 deletion test/test-express.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const test = require("ava");
const supertest = require("supertest");
const express = require("express");
const Agenda = require("agenda");
const { Agenda } = require("agenda");

const agenda = new Agenda().database(
"mongodb://127.0.0.1/agendash-test-db",
Expand Down
2 changes: 1 addition & 1 deletion test/test-hapi.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const test = require("ava");
const supertest = require("supertest");
const Agenda = require("agenda");
const { Agenda } = require("agenda");

const agenda = new Agenda().database(
"mongodb://127.0.0.1/agendash-test-db",
Expand Down
2 changes: 1 addition & 1 deletion test/test-koa.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
const test = require("ava");
const supertest = require("supertest");
const Koa = require("koa");
const Agenda = require("agenda");
const { Agenda } = require("agenda");

const agenda = new Agenda().database(
"mongodb://127.0.0.1/agendash-test-db",
Expand Down

0 comments on commit 4666865

Please sign in to comment.