Unverified Commit 08c95302 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix docs only change for canary (#44617)

Corrects the docs only change on the canary branch 

x-ref:
https://github.com/vercel/next.js/actions/runs/3851804915/jobs/6563359142
parent 9d133ff5
......@@ -65,7 +65,7 @@ async function main() {
const typeIndex = process.argv.indexOf('--type')
const type = typeIndex > -1 && process.argv[typeIndex + 1]
const isNegated = process.argv.indexOf('--not') > -1
const alwaysCanary = process.argv.includes('--always-canary') > -1
const alwaysCanary = process.argv.indexOf('--always-canary') > -1
if (!type) {
throw new Error(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment