mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 20:34:18 +01:00
9 lines
269 B
TypeScript
9 lines
269 B
TypeScript
export { parseJsonc } from '@opencode-manager/shared/utils'
|
|
|
|
export function hasJsoncComments(content: string): boolean {
|
|
return content.split('\n').some(line => {
|
|
const trimmed = line.trim()
|
|
return trimmed.startsWith('//') || trimmed.startsWith('/*')
|
|
})
|
|
}
|