• Makes sure a directory exists and if not creates it.

    Parameters

    • dir: string

    Returns void