Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
soags committed Jul 24, 2024
1 parent ecf3533 commit 19b0f50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
getUnexpectedErrorMessage,
} from './utils'

const validateSlugRemote = async (slug) => {
const validateSlugRemote = async (slug: string) => {
const res = await fetch(`https://zenn.dev/api/articles/${slug}`)
if (res.status === 200) {
console.error(getSlugRemoteDuplicateMessage(slug))
Expand Down

0 comments on commit 19b0f50

Please sign in to comment.