Línea 11... |
Línea 11... |
11 |
If the command does not output a version number, the version number can be found in package.json. You can simply open package.json
|
11 |
If the command does not output a version number, the version number can be found in package.json. You can simply open package.json
|
12 |
using your desired editor and look for the version number of axe-core. Alternatively, you may use the following commands:
|
12 |
using your desired editor and look for the version number of axe-core. Alternatively, you may use the following commands:
|
13 |
- MacOS:
|
13 |
- MacOS:
|
14 |
cat package.json | grep axe-core
|
14 |
cat package.json | grep axe-core
|
15 |
- Linux:
|
15 |
- Linux:
|
16 |
cat package.json | grep '"version"' | awk -F '"' '{print $4}'
|
16 |
cat package.json | grep axe-core
|
17 |
or
|
17 |
or
|
18 |
jq -r '.version' package.json
|
18 |
jq -r '.devDependencies."axe-core"' package.json
|
Línea 19... |
Línea 19... |
19 |
|
19 |
|
Línea 20... |
Línea 20... |
20 |
2/ Copy the following file to your local Moodle directory, to replace the old one:
|
20 |
2/ Copy the following file to your local Moodle directory, to replace the old one:
|