You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
17
17
18
18
```js
19
-
grunt.loadNpmTasks('grunt-node-version-windows');
19
+
grunt.loadNpmTasks("grunt-node-version-windows");
20
20
```
21
21
22
22
@@ -30,10 +30,10 @@ grunt.initConfig({
30
30
node_version: {
31
31
options: {
32
32
alwaysInstall:false,
33
-
errorLevel:'fatal',
33
+
errorLevel:"fatal",
34
34
globals: [],
35
35
nvm:true,
36
-
override:"",
36
+
override:""
37
37
debug:false
38
38
}
39
39
}
@@ -50,9 +50,9 @@ A boolean that determines whether to install the latest compatible version of no
50
50
51
51
#### options.errorLevel
52
52
Type: `String`
53
-
Default value: `'fatal'`
53
+
Default value: `"fatal"`
54
54
55
-
The level of error given when the wrong node version is being used. Accepted values are `'warn'` and `'fatal'`. Warn can can be overidden with `--force`, fatal cannot.
55
+
The level of error given when the wrong node version is being used. Accepted values are `"warn"` and `"fatal"`. Warn can can be overidden with `--force`, fatal cannot.
56
56
57
57
#### options.globals
58
58
Type: `Array`
@@ -68,7 +68,7 @@ A boolean that determines whether to attempt to use/install a version of node co
68
68
69
69
#### options.override
70
70
Type: `String`
71
-
Default value: `''`
71
+
Default value: `""`
72
72
73
73
If you want to override the version specified in your project's `package.json`, specify the version you want to use instead here. This is primarily intended for testing projects on other versions of node.
0 commit comments