Skip to content

Commit

Permalink
Rename spec version 1.1a to 2.2a
Browse files Browse the repository at this point in the history
  • Loading branch information
RandomByte committed Apr 14, 2020
1 parent f65abb4 commit 38fb05c
Show file tree
Hide file tree
Showing 2 changed files with 91 additions and 914 deletions.
4 changes: 2 additions & 2 deletions lib/cli/commands/serve.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,8 @@ serve.handler = async function(argv) {
}
let cdnUrl;
if (tree.server && tree.server.cdnUrl) {
if (tree.specVersion !== "1.1a") {
throw new Error(`Server configuration "cdnUrl" can only be used with specification version "1.1a". ` +
if (tree.specVersion !== "2.2a") {
throw new Error(`Server configuration "cdnUrl" can only be used with specification version "2.2a". ` +
`But project ${tree.metadata.name} defines "${tree.specVersion}".`);
}
cdnUrl = tree.server.cdnUrl;
Expand Down
Loading

0 comments on commit 38fb05c

Please sign in to comment.