Function getIniOptions

  • This function reads and parses a configuration file to get compression settings and updates the script settings accordingly.

    for a script. It is of type ScriptOptions.

    Parameters

    • configFile: undefined | string = ".squash"

      The path to the configuration file.

    • Optional override: IniOptions

      The override options.

    Returns ScriptOptions | null

    the updated settings object with values from the configuration file, or the original settings object if no configuration file is found or if there is an error parsing the configuration file.