Skip to content

Commit

Permalink
chore: update execute command
Browse files Browse the repository at this point in the history
  • Loading branch information
rtpascual committed Apr 12, 2024
1 parent 6c770f4 commit 10b679c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/amplify-cli/src/input-manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ export async function verifyInput(pluginPlatform: PluginPlatform, input: CLIInpu
const packageManager = (await getPackageManager())?.packageManager ?? 'npm';
const executeCommand = packageManager === 'npm' ? 'npx' : `${packageManager} dlx`;

const amplifyGen2Message = `For Amplify Gen 2, install the @aws-amplify/backend-cli package or execute using the package name directly:${EOL}${executeCommand} @aws-amplify/backend-cli amplify${commandString}`;
const amplifyGen2Message = `For Amplify Gen 2, install the @aws-amplify/backend-cli package or execute using the package name directly:${EOL}${executeCommand} @aws-amplify/backend-cli${commandString}`;

result.message = `The Amplify CLI can NOT find command: ${commandString}${EOL}${EOL}${amplifyGen2Message}`;
}
Expand Down

0 comments on commit 10b679c

Please sign in to comment.