We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5e4fcb commit 74a38e8Copy full SHA for 74a38e8
1 file changed
index.js
@@ -6,12 +6,16 @@ const Factory = require('./src/factory');
6
// GitHub API token
7
const token = process.env.TOKEN;
8
// Quantity of pages as objective (5 at time)
9
-const pages = 200;
+const pages = 20;
10
11
// New factory to mine
12
-const factory = new Factory(token, pages);
+const pythonFactory = new Factory(token, pages, 'python');
13
14
// Start to mine
15
-factory.start().then(() => {
16
- process.exit();
+pythonFactory.start().then(() => {
+ const javaFactory = new Factory(token, pages, 'java');
17
+
18
+ javaFactory.start().then(() => {
19
+ process.exit();
20
+ });
21
});
0 commit comments