Commit 1fc8007f by Sebastián Katzer

Do not insert snippet if permission id already set

parent bf346dc6
......@@ -47,7 +47,7 @@ function replace (filename, to_replace, replace_with) {
var data = fs.readFileSync(filename, 'utf8'),
result;
if (data.indexOf(replace_with) > -1)
if (data.indexOf('ToastCapable') > -1)
return;
result = data.replace(new RegExp(to_replace, 'g'), replace_with);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment