Skip to content

Commit

Permalink
Fix bug with setting proxy settings (#213)
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaygarlanka authored Nov 2, 2020
1 parent 98a16a2 commit 38c3450
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@

**New Features and Enhancements:**

- Add filter_term parameter to `groups:list`
- Make commands `collaborations:add`, `shared-links:update`, `shared-links:delete`, `users:search` that were previously hidden, now available
- Add `filter_term` parameter to `groups:list` ([210](https://github.com/box/boxcli/pull/210))
- Make commands `collaborations:add`, `shared-links:update`, `shared-links:delete`, `users:search` that were previously hidden, now available ([211](https://github.com/box/boxcli/pull/211))

**Bug Fixes:**

-
- Fix bug with setting proxy settings ([213](https://github.com/box/boxcli/pull/213))

## 2.6.0 [2020-08-20]

Expand Down
3 changes: 2 additions & 1 deletion src/box-command.js
Original file line number Diff line number Diff line change
Expand Up @@ -1051,6 +1051,7 @@ class BoxCommand extends Command {
let settings;
try {
settings = JSON.parse(fs.readFileSync(SETTINGS_FILE_PATH));
settings = Object.assign(this._getDefaultSettings(), settings);
DEBUG.init('Loaded settings %O', settings);
} catch (ex) {
throw new BoxCLIError(`Could not read CLI settings file at ${SETTINGS_FILE_PATH}`, ex);
Expand Down Expand Up @@ -1086,7 +1087,7 @@ class BoxCommand extends Command {
boxReportsFileFormat: 'txt',
boxDownloadsFolderPath: path.join(os.homedir(), 'Downloads/Box-Downloads'),
outputJson: false,
enableProxy: true,
enableProxy: false,
proxy: {
url: null,
username: null,
Expand Down

0 comments on commit 38c3450

Please sign in to comment.