You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/api/IBMi.ts
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -770,7 +770,7 @@ export default class IBMi {
770
770
if(!bashrcExists){
771
771
constcreateBashrc=awaitthis.sendCommand({command: `echo "# Generated by Code for IBM i\nexport PATH=/QOpenSys/pkgs/bin:\\$PATH" >> ${bashrcFile} && chown ${connectionObject.username.toLowerCase()}${bashrcFile} && chmod 755 ${bashrcFile}`});
772
772
if(createBashrc.code!==0){
773
-
awaitvscode.window.showWarningMessage(`Error creating ${bashrcFile}):\n${createBashrc.stderr}.\n\n Code for IBM i may not function correctly. Please contact your system administrator.`,{modal: true});
773
+
vscode.window.showWarningMessage(`Error creating ${bashrcFile}):\n${createBashrc.stderr}.\n\n Code for IBM i may not function correctly. Please contact your system administrator.`,{modal: true});
774
774
}
775
775
}
776
776
else{
@@ -803,7 +803,7 @@ export default class IBMi {
803
803
}
804
804
}
805
805
catch(error){
806
-
awaitvscode.window.showWarningMessage(`Error modifying PATH in ${bashrcFile}):\n${error}.\n\n Code for IBM i may not function correctly. Please contact your system administrator.`,{modal: true});
806
+
vscode.window.showWarningMessage(`Error modifying PATH in ${bashrcFile}):\n${error}.\n\n Code for IBM i may not function correctly. Please contact your system administrator.`,{modal: true});
0 commit comments