Skip to content

Commit 3bdb71b

Browse files
committed
Set no Gemfile console message to a console.log instead of console.error.
1 parent 635acff commit 3bdb71b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Scripts/configuration.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,15 @@ exports.Configuration = class Configuration {
3939
try {
4040
gemfileHandler = nova.fs.open(`${FUNCTIONS.normalizePath(nova.workspace.path)}/Gemfile`)
4141
} catch (error) {
42-
FUNCTIONS.showConsoleError(
42+
console.log(
4343
'No \'Gemfile\' could be found in the root directory of this project. Please go to the ' +
4444
'extension preferences and set the location of the \'Gemfile\' for this project.')
4545
}
4646
} else {
4747
try {
4848
gemfileHandler = nova.fs.open(`${FUNCTIONS.normalizePath(gemfilePath)}`)
4949
} catch (error) {
50-
FUNCTIONS.showConsoleError(
50+
console.log(
5151
'The \'Gemfile\' location set in the workspace preferences could not be found. Please check ' +
5252
'the location and try again.')
5353
}

0 commit comments

Comments
 (0)