Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
simplify sade initialisation
Browse files Browse the repository at this point in the history
  • Loading branch information
Rich-Harris committed Mar 5, 2018
1 parent ffaacb4 commit bc23200
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/cli/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ import upgrade from './upgrade';
import * as ports from 'port-authority';
import * as pkg from '../../package.json';

const prog = sade('sapper');

prog.version(pkg.version);
const prog = sade('sapper').version(pkg.version);

prog.command('dev')
.describe('Start a development server')
Expand Down

0 comments on commit bc23200

Please sign in to comment.