Skip to content

Commit e5cdc19

Browse files
authored
refactor: fix a typo in the name of file most-commit-lauguage-card.ts. (#130)
* fix file name * fix lauguage to language * revert dist/index.js and dist/index.js.map
1 parent e7f42bb commit e5cdc19

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

api/cards/most-commit-language.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import {getCommitsLanguageSVGWithThemeName} from '../../src/cards/most-commit-lauguage-card';
1+
import {getCommitsLanguageSVGWithThemeName} from '../../src/cards/most-commit-language-card';
22
import {changToNextGitHubToken} from '../utils/github-token-updater';
33
import {getErrorMsgCard} from '../utils/error-card';
44
import {translateLanguage} from '../../src/utils/translator'
55
import type {VercelRequest, VercelResponse} from '@vercel/node';
66

77
export default async (req: VercelRequest, res: VercelResponse) => {
88
let {username, theme = 'default', exclude = ""} = req.query;
9-
9+
1010
if (typeof theme !== 'string') {
1111
res.status(400).send('theme must be a string');
1212
return;

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as core from '@actions/core';
22
import {createProfileDetailsCard} from './cards/profile-details-card';
33
import {createReposPerLanguageCard} from './cards/repos-per-language-card';
4-
import {createCommitsPerLanguageCard} from './cards/most-commit-lauguage-card';
4+
import {createCommitsPerLanguageCard} from './cards/most-commit-language-card';
55
import {createStatsCard} from './cards/stats-card';
66
import {createProductiveTimeCard} from './cards/productive-time-card';
77
import {spawn} from 'child_process';
File renamed without changes.

0 commit comments

Comments
 (0)