Skip to content

Commit 8921dd0

Browse files
authored
Revert "fix(amplify-frontend-ios): pass paths to command options as strings (#12596)" (#13106)
This reverts commit 43f73ab.
1 parent de71c6a commit 8921dd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/amplify-frontend-ios/lib/amplify-xcode.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const amplifyXcodePath = () => path.join(pathManager.getAmplifyPackageLibDirPath
3333
async function importConfig(params) {
3434
let command = `${amplifyXcodePath()} import-config`;
3535
if (params['path']) {
36-
command += ` --path="${params['path']}"`;
36+
command += ` --path=${params['path']}`;
3737
}
3838
await execa.command(command, { stdout: 'inherit' });
3939
}
@@ -46,7 +46,7 @@ async function importConfig(params) {
4646
async function importModels(params) {
4747
let command = `${amplifyXcodePath()} import-models`;
4848
if (params['path']) {
49-
command += ` --path="${params['path']}"`;
49+
command += ` --path=${params['path']}`;
5050
}
5151
await execa.command(command, { stdout: 'inherit' });
5252
}
@@ -59,7 +59,7 @@ async function importModels(params) {
5959
async function generateSchema(params) {
6060
let command = `${amplifyXcodePath()} generate-schema`;
6161
if (params['output-path']) {
62-
command += ` --output-path="${params['output-path']}"`;
62+
command += ` --output-path=${params['output-path']}`;
6363
}
6464
await execa.command(command, { stdout: 'inherit' });
6565
}

0 commit comments

Comments
 (0)