Skip to content

Commit

Permalink
Remove --file alias until we are sure we want it
Browse files Browse the repository at this point in the history
  • Loading branch information
derrickreimer committed Oct 22, 2019
1 parent d8382ae commit ace9d6b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/cmds/deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ exports.builder = yargs => {
});

yargs.option('file', {
alias: 'A',
describe: 'Path to the local `statickit.json` file',
default: 'statickit.json'
});
Expand Down
2 changes: 1 addition & 1 deletion test/deploy.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ it('accepts a config from the statickit.json file', async () => {
it('accepts a config from a custom file', async () => {
await fs.writeFile(resolvePath('statickit-custom.json'), '{}', 'utf8');

const { stdout } = await command('deploy -A statickit-custom.json', {
const { stdout } = await command('deploy --file statickit-custom.json', {
env: { STATICKIT_DEPLOY_KEY: process.env.STATICKIT_TEST_DEPLOY_KEY }
});
expect(stdout).toMatch(/Deployment succeeded/);
Expand Down

0 comments on commit ace9d6b

Please sign in to comment.