Navigation Menu

Skip to content

Commit

Permalink
Fix indent level
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Aug 14, 2012
1 parent e6782d5 commit 805c7da
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions lib/database/domain.js
@@ -1,3 +1,4 @@
// -*- indent-tabs-mode: nil; js2-basic-offset: 2 -*-
/**
* Naming rule of generated tables:
* main table: <domain name>_<domain id>
Expand Down Expand Up @@ -280,18 +281,18 @@ Domain.prototype = {

var options = {
table: this.synonymsTableName,
key: key,
key: key,
output_columns: SYNONYMS_COLUMN
};
var getResult;
try {
getResult = this.context.commandSync('get', options);
getResult = this.context.commandSync('get', options);
} catch (error) {
if (/nonexistent key:/.test(error.message)) {
return null;
} else {
throw error;
}
if (/nonexistent key:/.test(error.message)) {
return null;
} else {
throw error;
}
}

var synonyms = getResult[1][0];
Expand Down

0 comments on commit 805c7da

Please sign in to comment.