Skip to content

Commit 49069f5

Browse files
committed
Fix error while comitting a locked problem with an accepted solution.
1 parent 3d1ad76 commit 49069f5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
npm run package
2-
git add .
2+
git add dist/index.js

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14654,7 +14654,7 @@ async function commit(params) {
1465414654
{
1465514655
path: path.normalize(questionPath),
1465614656
mode: "100644",
14657-
content: questionData,
14657+
content: `${questionData}`,
1465814658
},
1465914659
{
1466014660
path: path.normalize(solutionPath),

src/action.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ async function commit(params) {
165165
{
166166
path: path.normalize(questionPath),
167167
mode: "100644",
168-
content: questionData,
168+
content: `${questionData}`,
169169
},
170170
{
171171
path: path.normalize(solutionPath),

0 commit comments

Comments
 (0)