mirror of
https://github.com/laurent22/joplin.git
synced 2024-12-24 10:27:10 +02:00
Fix ts issues
This commit is contained in:
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
Block a user