[polari] cleanup: Use template literals for non-translated strings
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [polari] cleanup: Use template literals for non-translated strings
- Date: Fri, 13 Aug 2021 02:56:22 +0000 (UTC)
commit 48c3667371011e841988e404f8198655755a7004
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Aug 12 19:37:14 2021 +0200
cleanup: Use template literals for non-translated strings
https://gitlab.gnome.org/GNOME/polari/-/merge_requests/211
src/application.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.js b/src/application.js
index a8da49d2..50b98fc3 100644
--- a/src/application.js
+++ b/src/application.js
@@ -144,7 +144,7 @@ export default GObject.registerClass({
proc.init(null);
this._demons.push(proc);
} catch (e) {
- log('Failed to launch %s: %s'.format(command, e.message));
+ log(`Failed to launch ${command}: ${e.message}`);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]