Skip to content

Commit

Permalink
📋 - Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
47PADO47 committed Apr 10, 2022
1 parent 5888a05 commit dc12005
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions docs/Methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,9 @@
> checkDocument
> bookTalk
> getContents
> getTermsAgreement
> setTermsAgreement
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "npx tsc",
"update:docs": "node dist/UpdateDocs.js && git commit -a -m \"📋 - Update docs\" && git push"
"update:docs": "node dist/src/UpdateDocs.js && git commit -a -m \"📋 - Update docs\" && git push"
},
"keywords": [
"classeviva"
Expand Down
1 change: 1 addition & 0 deletions src/UpdateDocs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { readdirSync, readFileSync, writeFileSync } from 'fs';
} as { [key: string]: string[] };

for (const file in filesObj) {
if (!Object.prototype.hasOwnProperty.call(filesObj, file)) return;
console.log(`[🔁] Loading ${file}...`);

const location: string = filesObj[file];
Expand Down

0 comments on commit dc12005

Please sign in to comment.