mirror of
https://github.com/rowyio/rowy.git
synced 2026-02-24 04:01:17 +01:00
ft-builder fix spark traiding ";" issue
This commit is contained in:
@@ -75,7 +75,7 @@ function parseSparksConfig(
|
||||
// remove leading "sparks.config(" and trailing ")"
|
||||
return sparks
|
||||
.replace(/^(\s*)sparks.config\(/, "")
|
||||
.replace(/\)(\s*)+$/, "");
|
||||
.replace(/\);?\s*$/, "");
|
||||
} catch (error) {
|
||||
logErrorToDB({
|
||||
errorDescription: "Sparks is not wrapped with sparks.config",
|
||||
|
||||
Reference in New Issue
Block a user