|
|
|
@ -85,8 +85,8 @@ const EnvConfigModal: React.FC<EnvConfigModalProps> = ({
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
const handleCopyCommand = () => {
|
|
|
|
const handleCopyCommand = () => {
|
|
|
|
const rawCommand = language.includes('Python') ? configData.pythonCommand : configData.javaCommand;
|
|
|
|
// const rawCommand = language.includes('Python') ? configData.pythonCommand : configData.javaCommand;
|
|
|
|
const textToCopy = showEscaped ? rawCommand : rawCommand;
|
|
|
|
const textToCopy = getDisplayCommand();
|
|
|
|
|
|
|
|
|
|
|
|
const success = copy(textToCopy);
|
|
|
|
const success = copy(textToCopy);
|
|
|
|
|
|
|
|
|
|
|
|
|