Skip to content

resolveOutputPath

resolveOutputPath(writeOutputToFile): string

Defined in: core/dist/utils/fileUtils.d.ts:37

Resolve an explicit output path string to an absolute file path. Concerned only with string values:

  • If the string includes a path separator, resolve relative to project root and ensure parent directories exist.
  • If it’s a bare filename, place it under .gsloth/ when present, otherwise project root.

string

string