From 77f79233996d4f00eb6df065301712b0f4a0a7c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Sun, 27 Dec 2020 18:18:43 +0100 Subject: [PATCH] Add Url to SassError --- transpiler.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/transpiler.go b/transpiler.go index 1da583d..4b2922b 100644 --- a/transpiler.go +++ b/transpiler.go @@ -7,6 +7,7 @@ import ( "errors" "fmt" "io" + "os" "os/exec" "regexp" @@ -96,6 +97,7 @@ type SassError struct { Offset int `json:"offset"` Column int `json:"column"` } `json:"end"` + Url string `json:"url"` Context string `json:"context"` } `json:"span"` }