UNPKG

@assylman/riverpod-cli

Version:

nodejs cli for creating well structured flutter riverpod folders and files needed to work with Riverpod plugin

12 lines (11 loc) 266 B
export function formattingTarget(target: string) { if (target.length > 1) { const firstChar = target[0]; if (firstChar) { if (firstChar != '/') { return '/' + target; } } } return target; }