Skip to content

Commit 0a1b454

Browse files
committed
switching to setOption
1 parent a29ce4a commit 0a1b454

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/PatternLab/Generator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function generate($options = array()) {
5656
$watchVerbose = (isset($options["watchVerbose"])) ? $options["watchVerbose"] : false;
5757

5858
if ($noCacheBuster) {
59-
Config::updateOption("cacheBuster",0);
59+
Config::setOption("cacheBuster",0);
6060
}
6161

6262
// gather up all of the data to be used in patterns

src/PatternLab/Watcher.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public function watch($options = array()) {
7070
}*/
7171

7272
if ($noCacheBuster) {
73-
Config::updateOption("cacheBuster",0);
73+
Config::setOption("cacheBuster",0);
7474
}
7575

7676
$c = false; // track that one loop through the pattern file listing has completed

0 commit comments

Comments
 (0)