Skip to content

Commit

Permalink
Update scheduler.js
Browse files Browse the repository at this point in the history
Co-Authored-By: Ricardo Canto <[email protected]>
  • Loading branch information
grimord and rjcanto committed Jul 22, 2021
1 parent 010f637 commit 95bc8af
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scheduler/src/scheduler.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@ import {buildCalendarRequest, buildTimetableRequest, buildEvaluationRequest} fro


try {
const [uri, token, format, configFile] = process.argv.slice(2)

const filePath = configFile
const [uri, token, format, filePath] = process.argv.slice(2)

const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
Expand All @@ -21,7 +19,6 @@ try {

const institutions = getInstitutions(data)


const params = {token, format, uri}

institutions.flatMap(i => {
Expand Down

0 comments on commit 95bc8af

Please sign in to comment.