message: fix(gui): Fix an inifinite digest loop trigger
  This fixes a guard against infinite digest loop triggering
  that was erronously dropped during a rebase.
  Change-Type: patch
diff: const os = require('os')
  const settings = require('../../../models/settings')
  +const utils = require('../../../../../shared/utils')
  +const angular = require('angular')
  /* eslint-disable lodash/prefer-lodash-method */
  @@ -46,12 +48,12 @@ module.exports = function (
  * @example
  * FileSelectorController.getFolderConstraint()
  */
  - this.getFolderConstraints = () => {
  + this.getFolderConstraints = utils.memoize(() => {
  // TODO(Shou): get this dynamically from the mountpoint of a specific port in Etcher Pro
  return settings.has('fileBrowserConstraintPath')
  ? settings.get('fileBrowserConstraintPath').split(',')
  : []
  - }
  + }, angular.equals)
  /**
  * @summary Get initial path
  