Skip to content

Commit

Permalink
refactor: fix a typo in the name of file most-commit-lauguage-card.ts. (
Browse files Browse the repository at this point in the history
#130)

* fix file name

* fix lauguage to language

* revert dist/index.js and dist/index.js.map
  • Loading branch information
onishi-kohei committed Jan 15, 2023
1 parent e7f42bb commit e5cdc19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions api/cards/most-commit-language.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import {getCommitsLanguageSVGWithThemeName} from '../../src/cards/most-commit-lauguage-card';
import {getCommitsLanguageSVGWithThemeName} from '../../src/cards/most-commit-language-card';
import {changToNextGitHubToken} from '../utils/github-token-updater';
import {getErrorMsgCard} from '../utils/error-card';
import {translateLanguage} from '../../src/utils/translator'
import type {VercelRequest, VercelResponse} from '@vercel/node';

export default async (req: VercelRequest, res: VercelResponse) => {
let {username, theme = 'default', exclude = ""} = req.query;

if (typeof theme !== 'string') {
res.status(400).send('theme must be a string');
return;
Expand Down
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as core from '@actions/core';
import {createProfileDetailsCard} from './cards/profile-details-card';
import {createReposPerLanguageCard} from './cards/repos-per-language-card';
import {createCommitsPerLanguageCard} from './cards/most-commit-lauguage-card';
import {createCommitsPerLanguageCard} from './cards/most-commit-language-card';
import {createStatsCard} from './cards/stats-card';
import {createProductiveTimeCard} from './cards/productive-time-card';
import {spawn} from 'child_process';
Expand Down
File renamed without changes.

0 comments on commit e5cdc19

Please sign in to comment.