mirror of https://github.com/laurent22/joplin.git
Fix ts issues
parent
1fd11588db
commit
97b0f4c8de
|
@ -1,3 +1,5 @@
|
|||
import { rootDir } from './tool-utils';
|
||||
|
||||
const request = require('request');
|
||||
|
||||
interface Contributor {
|
||||
|
@ -6,7 +8,9 @@ interface Contributor {
|
|||
html_url: string;
|
||||
}
|
||||
|
||||
const readmePath = `${__dirname}/../../README.md`;
|
||||
rootDir;
|
||||
|
||||
const readmePath = `${rootDir}/README.md`;
|
||||
const { insertContentIntoFile } = require('./tool-utils.js');
|
||||
|
||||
async function gitHubContributors(page: number): Promise<Contributor[]> {
|
||||
|
|
|
@ -17,6 +17,7 @@ describe('update-readme-download', () => {
|
|||
html_url: '',
|
||||
prerelease: false,
|
||||
draft: false,
|
||||
body: '',
|
||||
};
|
||||
return r;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue