Skip to content

Commit

Permalink
Version bump to 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
tmuras committed Apr 26, 2024
1 parent 85782a0 commit 6cb0125
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Moosh/Command/Moodle39/Activity/ActivityAdd.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ public function execute()
$options = $this->expandedOptions;

if (!empty($options['options'])) {
$course_module_options = preg_split( '/\s+(?=--)/', $options['options']);
$course_module_options = preg_split( '/\s+(?=--)/m', $options['options']);
var_dump($course_module_options);
foreach ( $course_module_options as $option ) {
$arg = new Argument( $option );
$name = $this->getOptionName($arg);
Expand Down
2 changes: 1 addition & 1 deletion moosh.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
use GetOptionKit\ContinuousOptionParser;
use GetOptionKit\OptionCollection;

define('MOOSH_VERSION', '1.19');
define('MOOSH_VERSION', '1.20');
define('MOODLE_INTERNAL', true);

$appspecs = new OptionCollection;
Expand Down

0 comments on commit 6cb0125

Please sign in to comment.