Skip to content

Commit

Permalink
fix: changed localConfigPath to optional
Browse files Browse the repository at this point in the history
  • Loading branch information
CptSchnitz committed Jul 31, 2024
1 parent 46d8e5b commit a9727a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface BaseOptions {
* The path to the local configuration folder.
* @default './config'
*/
localConfigPath: string;
localConfigPath?: string;
}

/**
Expand Down Expand Up @@ -95,7 +95,7 @@ export const optionsSchema: JSONSchemaType<BaseOptions> = {
configServerUrl: { type: 'string' },
offlineMode: { type: 'boolean', nullable: true },
ignoreServerIsOlderVersionError: { type: 'boolean', nullable: true },
localConfigPath: { type: 'string', default: './config' },
localConfigPath: { type: 'string', default: './config', nullable: true },
},
};

Expand Down

0 comments on commit a9727a3

Please sign in to comment.