From 27c8c1548a824790136234d55b41de443d50baa3 Mon Sep 17 00:00:00 2001 From: Tyler Date: Sat, 6 Mar 2021 23:48:25 -0500 Subject: [PATCH] Add other variables for empty settings --- main.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.go b/main.go index 7a1f795..5ec8724 100644 --- a/main.go +++ b/main.go @@ -47,7 +47,10 @@ func main() { log.WithError(err).Fatal("Unable to setup new compiler") } + c.DefineVariable("filename", "") c.DefineVariable("filepath", "") + c.DefineVariable("extension", "") + c.DefineVariable("filetype", "") loadRules(c)