Skip to content

Commit cdf770a

Browse files
committed
fix: cubic comments and injected block inputs unrolling
1 parent e53661f commit cdf770a

File tree

5 files changed

+741
-18
lines changed

5 files changed

+741
-18
lines changed

extensions/cli/src/hubLoader.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,10 @@ export function isStringRule(rule: string) {
302302
if (rule.includes(" ") || rule.includes("\n")) {
303303
return true;
304304
}
305-
if (["file:/", ".", "/", "~"].some((prefix) => rule.startsWith(prefix))) {
305+
if (
306+
["file:/", ".", "/", "~"].some((prefix) => rule.startsWith(prefix)) ||
307+
rule.includes("\\")
308+
) {
306309
return false;
307310
}
308311
if (HUB_SLUG_PATTERN.test(rule)) {

0 commit comments

Comments
 (0)