Skip to content

Commit

Permalink
feat: pass offline flag to @netlify/config
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardoboucas committed Jan 13, 2021
1 parent 7e14778 commit 1c49d95
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/command.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ class BaseCommand extends Command {
siteId: argv.siteId || (typeof argv.site === 'string' && argv.site) || state.get('siteId'),
token,
mode: 'cli',
offline: argv.offline,
})
} catch (error) {
const message = error.type === 'userError' ? error.message : error.stack
Expand Down

0 comments on commit 1c49d95

Please sign in to comment.