Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cli/src/tasks/copy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,13 +254,13 @@ async function copySSLCert(sslCertPaths: string[], rootDir: string, targetDir: s
`SSL Certificate does not exist at specified path.`,
);

return;
continue;
}
validCertPaths.push(certAbsFromPath);
}
const certsDirAbsToPath = join(targetDir, 'certs');
const certsDirRelToDir = relative(rootDir, targetDir);
await runTask(`Copying SSL Certificates from to ${certsDirRelToDir}`, async () => {
await runTask(`Copying SSL Certificates to ${certsDirRelToDir}`, async () => {
const promises: Promise<void>[] = [];
for (const certPath of validCertPaths) {
promises.push(fsCopy(certPath, join(certsDirAbsToPath, basename(certPath))));
Expand Down