From 09d9cbea35b0880cc2750dafc7cc59f787154079 Mon Sep 17 00:00:00 2001 From: bunsenstraat Date: Mon, 13 Sep 2021 12:30:53 +0200 Subject: [PATCH] fix err message --- apps/remix-ide/src/app/files/dgitProvider.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/files/dgitProvider.js b/apps/remix-ide/src/app/files/dgitProvider.js index 5e98cccce0..7a8835a70c 100644 --- a/apps/remix-ide/src/app/files/dgitProvider.js +++ b/apps/remix-ide/src/app/files/dgitProvider.js @@ -226,7 +226,7 @@ class DGitProvider extends Plugin { async clone (input) { const permission = await this.askUserPermission('clone', 'Import multiple files into your workspaces.') if (!permission) return false - if (this.calculateLocalStorage() > 10000) throw new Error('Local browser storage is full.') + if (this.calculateLocalStorage() > 10000) throw new Error('The local storage of the browser is full.') await this.call('filePanel', 'createWorkspace', `workspace_${Date.now()}`, false) const cmd = { @@ -459,7 +459,7 @@ class DGitProvider extends Plugin { async import (cmd) { const permission = await this.askUserPermission('import', 'Import multiple files into your workspaces.') if (!permission) return false - if (this.calculateLocalStorage() > 10000) throw new Error('Local browser storage is full.') + if (this.calculateLocalStorage() > 10000) throw new Error('The local storage of the browser is full.') const cid = cmd.cid await this.call('filePanel', 'createWorkspace', `workspace_${Date.now()}`, false) const workspace = await this.call('filePanel', 'getCurrentWorkspace')