mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:08:53 +08:00
fix: 修复复制到本机插件,pfx格式复制时报错的bug
This commit is contained in:
@@ -226,7 +226,7 @@ export class CopyCertToLocalPlugin extends AbstractTaskPlugin {
|
||||
this.hostIcPath = icPath;
|
||||
}
|
||||
if (pfxPath) {
|
||||
pfxPath = icPath.trim();
|
||||
pfxPath = pfxPath.trim();
|
||||
pfxPath = pfxPath.startsWith('/') ? pfxPath : path.join(Constants.dataDir, pfxPath);
|
||||
this.copyFile(tmpPfxPath, pfxPath);
|
||||
this.hostPfxPath = pfxPath;
|
||||
|
||||
Reference in New Issue
Block a user