Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
nicecui committed Sep 6, 2024
1 parent 72fa901 commit 24778f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/variable-placeholder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ interface VariablesMap {

function getVariables(path: string, variablesMap: VariablesMap): Variables | undefined {
// Check for paths that should be associated with "nightly"
if (path.includes('docs/docs/') || path.includes('/current/')) {
console.log(getVariables);
console.log(path);
if (path.includes('/docs/') || path.includes('/current/')) {
return variablesMap['nightly'];
}

Expand Down

0 comments on commit 24778f0

Please sign in to comment.