-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Receiving the following error when running cp command:
JsonLdError [jsonld.ValidationError]: Safe mode validation error.
at safeEventHandler (/Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/events.js:135:11)
at _handle (/Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/events.js:82:7)
at api.handleEvent (/Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/events.js:71:3)
at /Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/expand.js:596:17
at Array.map (<anonymous>)
at _expandObject (/Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/expand.js:560:25)
at api.expand (/Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/expand.js:251:9)
at api.expand (/Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/expand.js:125:25)
at _expandObject (/Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/expand.js:926:35)
at api.expand (/Users/spelkey/Documents/projects/caskfs/caskfs/node_modules/jsonld/lib/expand.js:251:9) {
details: {
event: {
type: [Array],
code: 'relative @id reference',
level: 'warning',
message: 'Relative @id reference found.',
details: [Object]
}
}
}
This only occurs if there is a space in the name of an ancestor directory e.g:
my-files
-- foo bar
-- foo.jsonld
cp my-files / will throw an error
cp my-files/foo\ bar / works fine
Metadata
Metadata
Assignees
Labels
No labels