mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2026-08-06 03:48:35 +02:00
- Add a 'Setup template credentials' view to setup the credentials of a template before it is created
9 lines
191 B
TypeScript
9 lines
191 B
TypeScript
/**
|
|
* Asserts given condition
|
|
*/
|
|
export function assert(condition: unknown, message?: string): asserts condition {
|
|
if (!condition) {
|
|
throw new Error(message ?? 'Assertion failed');
|
|
}
|
|
}
|