feat(config): add debug prints for npm config updates
- Added print statements to display current and new config values - Improved visibility into config update process - No functional changes, only added logging for debugging
This commit is contained in:
parent
10d1211800
commit
88e6b7559d
8
app.py
8
app.py
@ -579,9 +579,15 @@ def _update_npm_config(credentials=None):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
if streams:
|
if streams:
|
||||||
|
print("Current Config:")
|
||||||
|
print(current_config)
|
||||||
|
|
||||||
new_config = update_config_with_streams(current_config, streams)
|
new_config = update_config_with_streams(current_config, streams)
|
||||||
|
print("\nNew Config:")
|
||||||
|
print(new_config)
|
||||||
|
|
||||||
npm.update_proxy_host_config(9, new_config)
|
npm.update_proxy_host_config(9, new_config)
|
||||||
print("NPM config updated successfully.")
|
print("\nNPM config updated successfully.")
|
||||||
return True
|
return True
|
||||||
else:
|
else:
|
||||||
print("Failed to update NPM config.")
|
print("Failed to update NPM config.")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user