Skip to content

Commit b32054d

Browse files
committed
rename non-absolut to relative
1 parent 6d875d0 commit b32054d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

schemas/ajv.absolutePath.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
const getErrorFor = (shouldBeAbsolute, data, schema) => {
44
const message = shouldBeAbsolute ?
55
`The provided value ${JSON.stringify(data)} is not an absolute path!\n`
6-
: `A non-absolut path is expected. However the provided value ${JSON.stringify(data)} is an absolute path!\n`;
6+
: `A relative path is expected. However the provided value ${JSON.stringify(data)} is an absolute path!\n`;
77

88
return {
99
keyword: "absolutePath",

test/Validation.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,15 +176,15 @@ describe("Validation", function() {
176176
" * configuration.devtool should be false"
177177
]
178178
}, {
179-
name: "non-absolute path",
179+
name: "relative path",
180180
config: {
181181
entry: "foo.js",
182182
output: {
183183
filename: "/bar"
184184
}
185185
},
186186
message: [
187-
" - configuration.output.filename: A non-absolut path is expected. However the provided value \"/bar\" is an absolute path!",
187+
" - configuration.output.filename: A relative path is expected. However the provided value \"/bar\" is an absolute path!",
188188
"",
189189
]
190190
}, {

0 commit comments

Comments
 (0)