Skip to content

Commit

Permalink
Run prettier via GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaanvanrossum authored and actions-user committed Mar 20, 2021
1 parent 9909fb5 commit 1104d07
Showing 1 changed file with 20 additions and 20 deletions.
40 changes: 20 additions & 20 deletions lib/build-yargs.js
@@ -1,29 +1,29 @@
module.exports = function () {
return require('yargs')
.usage('$0 [options] <dbname>')
.option('host', {
alias: 'h',
default: '127.0.0.1',
describe: 'database server host or socket directory'
return require("yargs")
.usage("$0 [options] <dbname>")
.option("host", {
alias: "h",
default: "127.0.0.1",
describe: "database server host or socket directory",
})
.option('port', {
alias: 'p',
.option("port", {
alias: "p",
default: 5432,
describe: 'database server port'
describe: "database server port",
})
.option('user', {
alias: 'u',
default: 'postgres',
describe: 'user name to connect as'
.option("user", {
alias: "u",
default: "postgres",
describe: "user name to connect as",
})
.option('password', {
describe: 'password to use when connecting'
.option("password", {
describe: "password to use when connecting",
})
.option('silent', {
.option("silent", {
default: false,
describe: 'should we output to stdout'
describe: "should we output to stdout",
})
.demand(1, 'you must provide a database name')
.demand(1, "you must provide a database name")
.help()
.version()
}
.version();
};

0 comments on commit 1104d07

Please sign in to comment.