Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Superflows-AI/superflows
/ addTabsToVariables
Function
addTabsToVariables
components/actions/viewPromptModal.tsx:116–119 ·
view source on GitHub ↗
(str: string)
Source
from the content-addressed store, hash-verified
114
}
115
116
function addTabsToVariables(str: string): string {
117
/** This is purely for human readability sake **/
118
return str.replace(/(\n)(\t*- )/g,
"$1\t$2"
);
119
}
Callers
1
ViewSystemPromptModal
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected