-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
zwe init --update-config does not work if the file is already open #3887
Comments
In this scenario, where was the zowe.yaml file opened? Zowe Explorer for VSCode, ISPF, USS + VI/VIM? |
zowe.yaml was opened in Zowe Explorer for VSCode. |
The Zowe Explorer for VSCode does not lock the remote file in USS, so the I don't believe there's any way to lock a USS file today using Zowe Explorer, or that zwe init would respect the lock. cc @adam-wolfe for awareness and in case I misstated anything. |
Hi Mark, I think we can close this issue. |
Describe the bug
--update-config param in zwe init does not update zowe.yaml file if zowe.yaml already open but the messages in the log still says that it was updated successfully
To Reproduce
Steps to reproduce the behavior:
Expected behavior
--update-config parameter always updates zowe.yaml file and generate error messages like 'File already Open' or 'File in use' in case it's not able to update the file.
Logs
Additional context
The above Log messages issued says that the zowe.yaml config file has been updated but actually it was not since the file was already in use.
The text was updated successfully, but these errors were encountered: