Skip to content

Commit

Permalink
use console.warn instead of console.warning (#1526)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsmaelMartinez authored Dec 17, 2024
1 parent 2ee07e8 commit 0cc0be7
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 17 deletions.
4 changes: 2 additions & 2 deletions app/customBackground/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ class CustomBackground {
customBGUrl = new URL('', this.config.customBGServiceBaseUrl);
}
catch (err) {
console.warning(`Failed to load custom background service configuration. ${err}. Setting Background service URL to http://localhost `);
console.warn(`Failed to load custom background service configuration. ${err}. Setting Background service URL to http://localhost `);
customBGUrl = new URL('', 'http://localhost');
}

Expand Down Expand Up @@ -124,7 +124,7 @@ class CustomBackground {
console.debug(`Custom background service remote configuration stored at '${downloadPath}'`);
}
catch (err) {
console.warning(`Fetched custom background remote configuration but failed to save at '${downloadPath}'. ${err.message}`);
console.warn(`Fetched custom background remote configuration but failed to save at '${downloadPath}'. ${err.message}`);
}
}
}
Expand Down
7 changes: 7 additions & 0 deletions com.github.IsmaelMartinez.teams_for_linux.appdata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@
<url type="bugtracker">https://github.com/IsmaelMartinez/teams-for-linux/issues</url>
<launchable type="desktop-id">com.github.IsmaelMartinez.teams_for_linux.desktop</launchable>
<releases>
<release version="1.12.5" date="2024-12-17">
<description>
<ul>
<li>Fix wrong console.warning error to console.warn</li>
</ul>
</description>
</release>
<release version="1.12.4" date="2024-12-10">
<description>
<ul>
Expand Down
24 changes: 12 additions & 12 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "teams-for-linux",
"version": "1.12.4",
"version": "1.12.5",
"main": "app/index.js",
"description": "Unofficial client for Microsoft Teams for Linux",
"homepage": "https://github.com/IsmaelMartinez/teams-for-linux",
Expand Down Expand Up @@ -51,11 +51,11 @@
},
"devDependencies": {
"@electron/fuses": "^1.8.0",
"@eslint/js": "^9.16.0",
"@eslint/js": "^9.17.0",
"http-server": "^14.1.1",
"electron": "^33.3.0",
"electron-builder": "^25.1.8",
"eslint": "^9.16.0",
"eslint": "^9.17.0",
"globals": "^15.13.0"
},
"build": {
Expand Down

0 comments on commit 0cc0be7

Please sign in to comment.