Skip to content

Commit

Permalink
Revert "fix(amplify-frontend-ios): pass paths to command options as s…
Browse files Browse the repository at this point in the history
…trings (#12596)" (#13106)

This reverts commit 43f73ab.
  • Loading branch information
jhockett authored Aug 11, 2023
1 parent de71c6a commit 8921dd0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/amplify-frontend-ios/lib/amplify-xcode.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const amplifyXcodePath = () => path.join(pathManager.getAmplifyPackageLibDirPath
async function importConfig(params) {
let command = `${amplifyXcodePath()} import-config`;
if (params['path']) {
command += ` --path="${params['path']}"`;
command += ` --path=${params['path']}`;
}
await execa.command(command, { stdout: 'inherit' });
}
Expand All @@ -46,7 +46,7 @@ async function importConfig(params) {
async function importModels(params) {
let command = `${amplifyXcodePath()} import-models`;
if (params['path']) {
command += ` --path="${params['path']}"`;
command += ` --path=${params['path']}`;
}
await execa.command(command, { stdout: 'inherit' });
}
Expand All @@ -59,7 +59,7 @@ async function importModels(params) {
async function generateSchema(params) {
let command = `${amplifyXcodePath()} generate-schema`;
if (params['output-path']) {
command += ` --output-path="${params['output-path']}"`;
command += ` --output-path=${params['output-path']}`;
}
await execa.command(command, { stdout: 'inherit' });
}
Expand Down

0 comments on commit 8921dd0

Please sign in to comment.