Skip to content

Commit

Permalink
fix: shorthand notation o for the offline flag (#2971)
Browse files Browse the repository at this point in the history
  • Loading branch information
tinfoil-knight authored Jul 20, 2021
1 parent e9a179a commit 5d4d02e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ class BaseCommand extends TrackedCommand {
}

// Find and resolve the Netlify configuration
async getConfig({ cwd, host, offline = argv.offline, pathPrefix, scheme, state, token }) {
async getConfig({ cwd, host, offline = argv.offline || argv.o, pathPrefix, scheme, state, token }) {
try {
return await resolveConfig({
config: argv.config,
Expand Down

1 comment on commit 5d4d02e

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📊 Benchmark results

Package size: 330 MB

Please sign in to comment.