From e77d7e7f624501c50c8958ed985373a59db8d260 Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Fri, 16 Sep 2016 11:35:20 -0700 Subject: [PATCH] :art: --- lib/common/init.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/common/init.js b/lib/common/init.js index 0e3e2febaf5e..b82102cf24d2 100644 --- a/lib/common/init.js +++ b/lib/common/init.js @@ -2,10 +2,10 @@ const timers = require('timers') process.atomBinding = function (name) { try { - return process.binding('atom_' + process.type + '_' + name) + return process.binding(`atom_${process.type}_${name}`) } catch (error) { if (/No such module/.test(error.message)) { - return process.binding('atom_common_' + name) + return process.binding(`atom_common_${name}`) } else { throw error }