@factorialco/gat
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -9,3 +9,2 @@ "use strict"; | ||
const kebabCase_1 = __importDefault(require("lodash/kebabCase")); | ||
const lodash_1 = require("lodash"); | ||
const DEFAULT_RUNNERS = ["ubuntu-22.04"]; | ||
@@ -100,11 +99,2 @@ class Workflow { | ||
noCompatMode: true, | ||
replacer: (_, value) => { | ||
if (typeof value === "string") { | ||
if (value.startsWith("\n")) { | ||
return (0, lodash_1.compact)(value.split("\n").map((str) => (0, lodash_1.trim)(str))).join("\n"); | ||
} | ||
return value; | ||
} | ||
return value; | ||
}, | ||
})}`; | ||
@@ -111,0 +101,0 @@ console.log(compiled); |
@@ -222,6 +222,4 @@ "use strict"; | ||
name: "Do something", | ||
run: ` | ||
echo foo | ||
exit 0 | ||
`, | ||
run: `echo foo | ||
exit 0`, | ||
}, | ||
@@ -228,0 +226,0 @@ ], |
{ | ||
"name": "@factorialco/gat", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"description": "TODO", | ||
@@ -5,0 +5,0 @@ "bin": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
19649
510