Skip to content

Leetcode submit fails #177

Closed
Closed
@dmartyanov

Description

@dmartyanov

leetcode submit fails for me

~/p/c/l/leetcode-samples> leetcode submit 174.dungeon-game.py
/Users/dmartyanov/psn/contests/leetcode/leetcode-cli/lib/plugins/leetcode.js:264
    x.stdout = util.inspect((result.code_output || []).join('\n'));
                                                       ^

TypeError: (result.code_output || []).join is not a function
    at formatResult (/Users/dmartyanov/psn/contests/leetcode/leetcode-cli/lib/plugins/leetcode.js:264:56)
    at Request._callback (/Users/dmartyanov/psn/contests/leetcode/leetcode-cli/lib/plugins/leetcode.js:233:16)
    at Request.self.callback (/Users/dmartyanov/psn/contests/leetcode/leetcode-cli/node_modules/request/request.js:185:22)
    at Request.emit (events.js:209:13)
    at Request.<anonymous> (/Users/dmartyanov/psn/contests/leetcode/leetcode-cli/node_modules/request/request.js:1161:10)
    at Request.emit (events.js:209:13)
    at IncomingMessage.<anonymous> (/Users/dmartyanov/psn/contests/leetcode/leetcode-cli/node_modules/request/request.js:1083:12)
    at Object.onceWrapper (events.js:297:20)
    at IncomingMessage.emit (events.js:214:15)
    at endReadableNT (_stream_readable.js:1178:12)

CLI v2.6.1-8dc0b2a
[Environment]
Node v12.9.0
OS darwin 18.7.0
[Plugins]
github 2018.11.18

Activity

kgfly

kgfly commented on Sep 22, 2019

@kgfly

Any suggestion when the fix could be released? Currently, it's just so inconvenient. Thanks.

added a commit that references this issue on Sep 28, 2019

Merge pull request #180 from nnnevermore/#177-patch-1

1ba0667
skygragon

skygragon commented on Sep 29, 2019

@skygragon
Owner

@9527KGG the fresh released 2.6.2 should fix this, sorry for this late reply

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @skygragon@dmartyanov@kgfly

        Issue actions

          Leetcode submit fails · Issue #177 · skygragon/leetcode-cli