mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
remove logging
This commit is contained in:
parent
38a30bcc49
commit
dff8ddb532
@ -391,7 +391,6 @@ class AssetMap {
|
|||||||
if (!assetMap.directory.startsWith(this.directory)) {
|
if (!assetMap.directory.startsWith(this.directory)) {
|
||||||
throw new Error(`map directory doesn't start with this directory: ${assetMap.directory} ${this.directory}`);
|
throw new Error(`map directory doesn't start with this directory: ${assetMap.directory} ${this.directory}`);
|
||||||
}
|
}
|
||||||
console.log("adding submap from", assetMap.directory, this.directory);
|
|
||||||
const relSubRoot = assetMap.directory.substr(this.directory.length + 1);
|
const relSubRoot = assetMap.directory.substr(this.directory.length + 1);
|
||||||
for (const [key, value] of assetMap._assets.entries()) {
|
for (const [key, value] of assetMap._assets.entries()) {
|
||||||
this._assets.set(path.join(relSubRoot, key), path.join(relSubRoot, value));
|
this._assets.set(path.join(relSubRoot, key), path.join(relSubRoot, value));
|
||||||
|
Loading…
Reference in New Issue
Block a user