export const fixFilenameVar = (contents: string, isSource?: boolean): string =>
  _fixFilenameVar({contents, isSource} as TResourceContext).contents