Skip to content

Commit 9ed20e3

Browse files
authored
Merge pull request #84 from kabalin/grunting
Run grunt task using npx.
2 parents 4158e30 + 1e018ca commit 9ed20e3

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

docs/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
99
The format of this change log follows the advice given at [Keep a CHANGELOG](http://keepachangelog.com).
1010

1111
## [Unreleased]
12-
No unreleased changes.
12+
### Fixed
13+
- `moodle-plugin-ci grunt` should also be using `npx grunt` internally
1314

1415
## [3.0.5] - 2021-02-04
1516
### Fixed

src/Command/GruntCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,8 @@ protected function execute(InputInterface $input, OutputInterface $output)
6969
}
7070

7171
$builder = ProcessBuilder::create()
72-
->setPrefix('grunt');
72+
->setPrefix('npx')
73+
->add('grunt');
7374
if ($input->getOption('show-lint-warnings')) {
7475
$builder->add('--show-lint-warnings');
7576
}

0 commit comments

Comments
 (0)