Skip to content

Commit 03d2f68

Browse files
Fix composer
1 parent fa5dc7f commit 03d2f68

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Composer/ConfluenceComposer.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,10 @@ public function buildXML( Builder $builder ) {
144144
$namespace = $this->getNamespace( $pageTitle );
145145
if (
146146
isset( $this->advancedConfig['composer-include-namespace'] )
147-
&& in_array( $namespace, $this->advancedConfig['composer-include-namespace'] )
147+
&& !in_array( $namespace, $this->advancedConfig['composer-include-namespace'] )
148148
) {
149+
$this->output->writeln( "Page {$pageTitle} skipped by configuration" );
150+
} else {
149151
$builder->addRevision( $pageTitle, $pageContent, $timestamp );
150152

151153
// Append attachments
@@ -175,8 +177,6 @@ public function buildXML( Builder $builder ) {
175177
}
176178
}
177179
}
178-
} else {
179-
$this->output->writeln( "Page {$pageTitle} skipped by configuration" );
180180
}
181181
}
182182

0 commit comments

Comments
 (0)