UNPKG

checksync

Version:

A tool that allows code to be annotated across different files to ensure they remain in sync.

11 lines (10 loc) 330 B
import { ILog } from "./types"; /** * Set the current working directory. * * This will exit the process if the directory cannot be changed. * * @param log A log to record things * @param directory The directory to set as the current working directory. */ export default function setCwd(log: ILog, directory: string): void;