wikibase-cli 15.16.3 → 15.16.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/wd +1 -1
- package/package.json +1 -1
package/bin/wd
CHANGED
|
@@ -4,6 +4,6 @@ process.env.WB_INSTANCE = 'https://www.wikidata.org'
|
|
|
4
4
|
process.env.WB_SPARQL_ENDPOINT = 'https://query.wikidata.org/sparql'
|
|
5
5
|
// Fake the executed script to be wb to trick commander to believe it
|
|
6
6
|
// as it would otherwise fail to build subcommand paths
|
|
7
|
-
process.argv[1] = process.argv[1].replace(
|
|
7
|
+
process.argv[1] = process.argv[1].replace(/wd$/, 'wb')
|
|
8
8
|
|
|
9
9
|
require('./wb')
|