@@ -128,7 +128,9 @@ module.exports = {
128
128
129
129
### ` commithashCommand: 'rev-parse HEAD' `
130
130
131
- To change the default ` git ` command used to read the value of ` COMMITHASH ` :
131
+ To change the default ` git ` command used to read the value of ` COMMITHASH ` .
132
+
133
+ This configuration is not not meant to accept arbitrary user input and it is executed by the plugin without any sanitization.
132
134
133
135
``` javascript
134
136
var GitRevisionPlugin = require (' git-revision-webpack-plugin' )
@@ -144,7 +146,9 @@ module.exports = {
144
146
145
147
### ` versionCommand: 'describe --always' `
146
148
147
- To change the default ` git ` command used to read the value of ` VERSION ` :
149
+ To change the default ` git ` command used to read the value of ` VERSION ` .
150
+
151
+ This configuration is not not meant to accept arbitrary user input and it is executed by the plugin without any sanitization.
148
152
149
153
``` javascript
150
154
var GitRevisionPlugin = require (' git-revision-webpack-plugin' )
@@ -160,7 +164,9 @@ module.exports = {
160
164
161
165
### ` branchCommand: 'rev-parse --abbrev-ref HEAD' `
162
166
163
- To change the default ` git ` command used to read the value of ` BRANCH ` :
167
+ To change the default ` git ` command used to read the value of ` BRANCH ` .
168
+
169
+ This configuration is not not meant to accept arbitrary user input and it is executed by the plugin without any sanitization.
164
170
165
171
``` javascript
166
172
var GitRevisionPlugin = require (' git-revision-webpack-plugin' )
@@ -176,7 +182,9 @@ module.exports = {
176
182
177
183
### ` lastCommitDateTimeCommand: 'log -1 --format=%cI' `
178
184
179
- To change the default ` git ` command used to read the value of ` LASTCOMMITDATETIME ` :
185
+ To change the default ` git ` command used to read the value of ` LASTCOMMITDATETIME ` .
186
+
187
+ This configuration is not not meant to accept arbitrary user input and it is executed by the plugin without any sanitization.
180
188
181
189
``` javascript
182
190
var GitRevisionPlugin = require (' git-revision-webpack-plugin' )
0 commit comments