Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
django-yarnpkg
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AlekSIS®
Libraries
django-yarnpkg
Merge requests
!7
Resolve "Not all arguments are passed to yarn"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "Not all arguments are passed to yarn"
4-not-all-arguments-are-passed-to-yarn
into
master
Overview
0
Commits
1
Pipelines
2
Changes
2
Merged
Jonathan Weth
requested to merge
4-not-all-arguments-are-passed-to-yarn
into
master
2 years ago
Overview
0
Commits
1
Pipelines
2
Changes
2
Expand
Closes
#4 (closed)
Edited
2 years ago
by
Jonathan Weth
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
9433b104
1 commit,
2 years ago
2 files
+
3
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
django_yarnpkg/management/commands/yarn.py
+
2
−
2
Options
from
...yarn
import
yarn_adapter
from
..base
import
BaseYarnCommand
from
argparse
import
REMAINDER
class
Command
(
BaseYarnCommand
):
args
=
'
command
'
@@ -8,7 +8,7 @@ class Command(BaseYarnCommand):
yarn_adapter
.
_node_modules_root
)
def
add_arguments
(
self
,
parser
):
parser
.
add_argument
(
'
command
'
,
nargs
=
'
*
'
)
parser
.
add_argument
(
'
command
'
,
nargs
=
REMAINDER
)
def
handle
(
self
,
*
args
,
**
options
):
super
(
Command
,
self
).
handle
(
*
args
,
**
options
)
Loading