Skip to content

Commit

Permalink
Reduce diff
Browse files Browse the repository at this point in the history
  • Loading branch information
ivov committed Apr 30, 2024
1 parent eaa8790 commit c1d69e8
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import Container from 'typedi';
import { Cipher, InstanceSettings } from 'n8n-core';
import { jsonParse } from 'n8n-workflow';
import type { MigrationContext, ReversibleMigration } from '@db/types';
import { inTest } from '@/constants';

/**
* Move SSH key pair from file system to database, to enable SSH connections
Expand Down Expand Up @@ -32,7 +31,7 @@ export class MoveSshKeysToDatabase1711390882123 implements ReversibleMigration {
readFile(this.publicKeyPath, { encoding: 'utf8' }),
]);
} catch {
if (!inTest) logger.info(`[${migrationName}] No SSH keys in filesystem, skipping`);
logger.info(`[${migrationName}] No SSH keys in filesystem, skipping`);
return;
}

Expand Down

0 comments on commit c1d69e8

Please sign in to comment.