Skip to content

Commit 3340efd

Browse files
committed
ci: refactor name to snake-case
1 parent 75d9492 commit 3340efd

6 files changed

+9
-9
lines changed

src/commandHandler.ts src/command-handler.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Message, Room, Contact } from 'wechaty';
2-
import { InternJobProvider } from './providers/InternJobProvider';
3-
import { NGJobProvider } from './providers/NGJobProvider';
4-
import { FileSystemService } from './FileSystemService';
2+
import { InternJobProvider } from './providers/internship-job-provider';
3+
import { NGJobProvider } from './providers/new-graduate-job-provider';
4+
import { FileSystemService } from './file-system-service';
55

66
interface Command {
77
name: string;
File renamed without changes.

src/index.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ import { WechatyBuilder, Contact, Room, Message } from 'wechaty';
22
import { ContactImpl } from 'wechaty/impls';
33
import qrcodeTerminal from 'qrcode-terminal';
44
import { jobWxBotConfig } from '../package.json';
5-
import { InternJobProvider } from './providers/InternJobProvider';
6-
import { NGJobProvider } from './providers/NGJobProvider';
5+
import { InternJobProvider } from './providers/internship-job-provider';
6+
import { NGJobProvider } from './providers/new-graduate-job-provider';
77
import path from 'path';
88
import os from 'os';
99
import * as fs from 'fs';
1010
import { TopicsLocal } from './types';
11-
import { CommandHandler } from './commandHandler';
11+
import { CommandHandler } from './command-handler';
1212

1313
const wechaty = WechatyBuilder.build();
1414
let targetRooms: Room[] = [];

src/providers/InternJobProvider.ts src/providers/internship-job-provider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Config } from '../config';
22
import { Job } from '../types';
3-
import { BaseJobProvider } from './BaseJobProvider';
3+
import { BaseJobProvider } from './job-provider-base';
44

55
/**
66
* @class InternJobProvider

src/providers/BaseJobProvider.ts src/providers/job-provider-base.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import axios from 'axios';
22
import { Config } from '../config';
33
import { Job, JobProvider } from '../types';
4-
import { FileSystemService } from '../FileSystemService';
4+
import { FileSystemService } from '../file-system-service';
55

66
export abstract class BaseJobProvider implements JobProvider {
77
abstract readonly jobType: string;

src/providers/NGJobProvider.ts src/providers/new-graduate-job-provider.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Config } from '../config';
22
import { Job } from '../types';
3-
import { BaseJobProvider } from './BaseJobProvider';
3+
import { BaseJobProvider } from './job-provider-base';
44

55
/**
66
* @class NGJobProvider

0 commit comments

Comments
 (0)