summaryrefslogtreecommitdiff
path: root/lib/config/hackmdEnvironment.js
diff options
context:
space:
mode:
authorErik Michelson2021-02-02 00:38:54 +0100
committerErik Michelson2021-02-02 00:38:54 +0100
commit3808c08c2db3641b0928f6dc743feb3a31bcbf43 (patch)
treea0962741d5dc1638d96b65a07c51af05106eabef /lib/config/hackmdEnvironment.js
parent78a732abe691b496fa3692aa2add37f7344db1fa (diff)
Fix note creation in FreeURL mode not using template
As explained in #391, the previous note creation logic didn't handle the case "alias is set, but it's not a file on disk". The fix introduces a separate if-statement for this scenario at the cost of a doubled filesystem read access. Co-Authored-By: @evanlinde Signed-off-by: Erik Michelson <github@erik.michelson.eu>
Diffstat (limited to 'lib/config/hackmdEnvironment.js')
0 files changed, 0 insertions, 0 deletions