You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/secrets/CommandRename.ts
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -103,8 +103,8 @@ class CommandRename extends CommandPolykey {
103
103
`EINVALID: The new secret name '${newSecretNameArg}' appears to be a path but could not be parsed: ${e.message}`,
104
104
);
105
105
}
106
-
constnewVaultNameInArg=parsedNewPath[0];
107
-
constnewSecretPathPart=parsedNewPath[1];
106
+
constnewVaultNameInArg: string=parsedNewPath[0];
107
+
constnewSecretPathPart: string=parsedNewPath[1];
108
108
if(newVaultNameInArg!==originalVaultName){
109
109
thrownewerrors.ErrorPolykeyCLIRenameSecret(
110
110
`ECROSSVAULT: Renaming to a different vault ('${newVaultNameInArg}') is not supported by this command. The target vault must be the same as the source vault ('${originalVaultName}').`,
0 commit comments