Skip to content

Commit

Permalink
Upgrade mocha version, delint previous change
Browse files Browse the repository at this point in the history
  • Loading branch information
sqrrrl committed Jun 22, 2021
1 parent 02aaf6d commit 998ac71
Show file tree
Hide file tree
Showing 4 changed files with 104 additions and 121 deletions.
6 changes: 3 additions & 3 deletions bin/md2gslides.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,12 +145,12 @@ function authorizeUser() {
try {
data = fs.readFileSync(STORED_CLIENT_ID_PATH);
} catch (err) {
console.log('Error loading client secret file:', err);
throw err;
console.log('Error loading client secret file:', err);
throw err;
}
if (data === undefined) {
console.log('Error loading client secret data');
throw('No client secret found.');
throw 'No client secret found.';
}
const creds = JSON.parse(data).installed;

Expand Down
145 changes: 67 additions & 78 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"gts": "^3.1.0",
"mocha": "^8.4.0",
"mocha": "^9.0.1",
"mock-fs": "^4.14.0",
"nock": "^10.0.6",
"typescript": "^4.0.3"
Expand Down
Loading

0 comments on commit 998ac71

Please sign in to comment.