fix argument types in build command
authorJan Szejko <janek37@gmail.com>
Fri, 31 Mar 2017 11:36:50 +0000 (13:36 +0200)
committerJan Szejko <janek37@gmail.com>
Fri, 31 Mar 2017 11:36:50 +0000 (13:36 +0200)
apps/build/management/commands/build.py

index 6c4b276..9afc249 100644 (file)
@@ -18,28 +18,24 @@ class Command(BaseCommand):
             '--node-bin-path',
             action='store',
             dest='node_bin_path',
-            type='string',
             default=None,
             help='Path to node binary')
         parser.add_argument(
             '--npm-bin',
             action='store',
             dest='npm_bin',
-            type='string',
             default='npm',
             help='Path to npm binary')
         parser.add_argument(
             '--editor-npm-env',
             action='store',
             dest='editor_npm_env',
-            type='string',
             default=None,
             help='Destination path of npm environment, defaults to ./node_modules')
         parser.add_argument(
             '--editor-optimize',
             action='store',
             dest='editor_optimize',
-            type='string',
             default=None,
             help='Optimization strategy for editor build')