You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-06 23:56:13 +02:00
Tools: Add class member accessibility modifiers and converted rule @typescript-eslint/explicit-member-accessibility to an error
This commit is contained in:
@ -5,18 +5,18 @@ export default class MigrationService extends BaseService {
|
||||
|
||||
private static instance_: MigrationService;
|
||||
|
||||
static instance() {
|
||||
public static instance() {
|
||||
if (this.instance_) return this.instance_;
|
||||
this.instance_ = new MigrationService();
|
||||
return this.instance_;
|
||||
}
|
||||
|
||||
async runScript(num: number) {
|
||||
public async runScript(num: number) {
|
||||
const script = Migration.script(num);
|
||||
await script.exec();
|
||||
}
|
||||
|
||||
async run() {
|
||||
public async run() {
|
||||
const migrations = await Migration.migrationsToDo();
|
||||
|
||||
for (const migration of migrations) {
|
||||
|
Reference in New Issue
Block a user