Skip to content
Snippets Groups Projects
Commit 91aa9bba3dc9 authored by Martin von Zweigbergk's avatar Martin von Zweigbergk
Browse files

templater: make templatepaths() return a single path, or None

The function returns either a singleton list or an empty list, so it
makes more sense to return a value or None. The plural in the name
also doesn't make sense, but `templatepath()` is already taken, so I
renamed it to `templatedir()` instead.

Differential Revision: https://phab.mercurial-scm.org/D8786
parent e2ec36167151
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment