Skip to content

Commit

Permalink
fixup path-type (it changed recently during some cleanup)
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanpenner committed Mar 20, 2016
1 parent 3b3bdf0 commit 3a22a8f
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/commands/show-asset-sizes.js
@@ -1,14 +1,14 @@
'use strict';

var path = require('path');
var Command = require('../models/command');
var optionType = require('../utilities/option-type');

module.exports = Command.extend({
name: 'show-asset-sizes',
description: 'Show asset file sizes.',

availableOptions: [
{ name: 'output-path', type: path, default: 'dist/', aliases: ['o'] }
{ name: 'output-path', type: optionType('Path'), default: 'dist/', aliases: ['o'] },
],

run: function(commandOptions) {
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/help/help.js
Expand Up @@ -846,7 +846,6 @@ module.exports = {
{
name: 'output-path',
default: 'dist/',
type: 'path',
key: 'outputPath',
required: false,
aliases: ['o']
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/help/with-addon-blueprints.js
Expand Up @@ -878,7 +878,6 @@ module.exports = {
{
name: 'output-path',
default: 'dist/',
type: 'path',
key: 'outputPath',
required: false,
aliases: ['o']
Expand Down
1 change: 0 additions & 1 deletion tests/fixtures/help/with-addon-commands.js
Expand Up @@ -846,7 +846,6 @@ module.exports = {
{
name: 'output-path',
default: 'dist/',
type: 'path',
key: 'outputPath',
required: false,
aliases: ['o']
Expand Down

0 comments on commit 3a22a8f

Please sign in to comment.