diff --git a/Source/Scripts/RuboCopProcess.js b/Source/Scripts/RuboCopProcess.js index 04e4357..2b75ae8 100644 --- a/Source/Scripts/RuboCopProcess.js +++ b/Source/Scripts/RuboCopProcess.js @@ -18,8 +18,8 @@ class RuboCopProcess { return Promise.resolve(this._isBundled); } - if (!nova.workspace.contains("Gemfile")) { - this._sisBundled = false; + if (!(nova.workspace.contains("Gemfile") || nova.workspace.contains("gems.rb"))) { + this._isBundled = false; return Promise.resolve(false); }