Browse Source

Backport PR #11238: Run Linter (#11239)

Co-authored-by: Steven Silvester <ssilvester@apple.com>
MeeseeksMachine 3 years ago
parent
commit
b9d4d19af5
1 changed files with 5 additions and 1 deletions
  1. 5 1
      packages/filebrowser/src/model.ts

+ 5 - 1
packages/filebrowser/src/model.ts

@@ -297,7 +297,11 @@ export class FileBrowserModel implements IDisposable {
       .catch(error => {
         this._pendingPath = null;
         this._pending = null;
-        if (error.response && error.response.status === 404 && newValue !== '/') {
+        if (
+          error.response &&
+          error.response.status === 404 &&
+          newValue !== '/'
+        ) {
           error.message = this._trans.__(
             'Directory not found: "%1"',
             this._model.path