summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-16 01:04:08 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-16 01:04:08 -0600
commit2f0d0b510d6542dc3a2758d5664e19f0b5b3c603 (patch)
treed77218cd00f4f6117c658b5ce53b20164d19e0f2 /doc
parenteca18c0bd108033d1e852b2ce8010ee01c259528 (diff)
downloadgitlab-ce-2f0d0b510d6542dc3a2758d5664e19f0b5b3c603.tar.gz
do not use --force command argument for yarn
Diffstat (limited to 'doc')
-rw-r--r--doc/install/installation.md2
-rw-r--r--doc/update/8.16-to-8.17.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/install/installation.md b/doc/install/installation.md
index ae6c2626002..f77e1652ac2 100644
--- a/doc/install/installation.md
+++ b/doc/install/installation.md
@@ -468,7 +468,7 @@ Check if GitLab and its environment are configured correctly:
### Compile Assets
- sudo -u git -H yarn install --force --pure-lockfile
+ sudo -u git -H yarn install --production --pure-lockfile
sudo -u git -H bundle exec rake gitlab:assets:compile RAILS_ENV=production NODE_ENV=production
### Start Your GitLab Instance
diff --git a/doc/update/8.16-to-8.17.md b/doc/update/8.16-to-8.17.md
index f2369403487..98574d2067b 100644
--- a/doc/update/8.16-to-8.17.md
+++ b/doc/update/8.16-to-8.17.md
@@ -118,7 +118,7 @@ sudo -u git -H bundle clean
sudo -u git -H bundle exec rake db:migrate RAILS_ENV=production
# Install/update frontend asset dependencies
-sudo -u git -H yarn install --force --pure-lockfile
+sudo -u git -H yarn install --production --pure-lockfile
# Clean up assets and cache
sudo -u git -H bundle exec rake gitlab:assets:clean gitlab:assets:compile cache:clear RAILS_ENV=production