mirror of
https://github.com/immich-app/immich.git
synced 2025-07-09 09:12:57 +02:00
fix(cli): allow special characters in paths (#13282)
* fix(cli): commas in import paths * adding more test cases
This commit is contained in:
parent
057510af0a
commit
b7dcc97712
5 changed files with 149 additions and 26 deletions
e2e/src
|
@ -68,6 +68,7 @@ export const immichCli = (args: string[]) =>
|
|||
executeCommand('node', ['node_modules/.bin/immich', '-d', `/${tempDir}/immich/`, ...args]).promise;
|
||||
export const immichAdmin = (args: string[]) =>
|
||||
executeCommand('docker', ['exec', '-i', 'immich-e2e-server', '/bin/bash', '-c', `immich-admin ${args.join(' ')}`]);
|
||||
export const specialCharStrings = ["'", '"', ',', '{', '}', '*'];
|
||||
|
||||
const executeCommand = (command: string, args: string[]) => {
|
||||
let _resolve: (value: CommandResponse) => void;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue