Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6198deb

Browse files
Update action.js
1 parent 7355421 commit 6198deb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/action.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ async function commit(params) {
5252
const name = normalizeName(submission.title);
5353
log(`Committing solution for ${name}...`);
5454

55-
if (!LANG_TO_EXTENSION[submission.lang]) {
56-
throw `Language ${submission.lang} does not have a registered extension.`;
57-
}
55+
// if (!LANG_TO_EXTENSION[submission.lang]) {
56+
// throw `Language ${submission.lang} does not have a registered extension.`;
57+
// }
5858

5959
const prefix = !!destinationFolder ? `${destinationFolder}/` : '';
6060
const path = `${prefix}problems/${name}/solution.${LANG_TO_EXTENSION[submission.lang]}`

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /