Skip to content

linux - having directory in code->pick template yields "no file or directory exists" error [wip] #237

Description

@sudopluto

[wip]
filing this bug so i won't forget, will come back to fill out more info / attempt a PR

pick = '${fid}.${slug}' => works as expected
pick = '${fid}.${slug}/solution' => "no file or directory exists"

will add strace logs later, my guess is that the templated dir is not created before trying to create the file under it.
also noticed by reading the source code that you can't repeat template variables, ex: pick = '${fid}.${slug}/${slug}'

config:

  • arch linux
  • installed via cargo install leetcode-cli
  • using custom storage->root and storage->code in config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions