Skip to content

Commit

Permalink
separate generation from test
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Apr 27, 2018
1 parent 9c89b6f commit 846dd3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"test:lint": "eslint index.js 'src/**/*.js' 'test/**/*.js'",
"test:prettier": "prettier --print-width 100 --trailing-comma none --write \"{src,test,benchmarks}/**/*.js\"",
"benchmark": "node ./benchmarks/benchmarks.js",
"generate": "node ./test/tools/generate-mariadb.js"
"generate": "node ./tools/generate-mariadb.js"
},
"repository": {
"type": "git",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const baseUrl =
"https://raw.githubusercontent.com/MariaDB/server/" + version + "/include/my_base.h";
const fileName = path.join(os.tmpdir(), "mariadb_errmsg.txt");
const fileNameBase = path.join(os.tmpdir(), "my_base.h");
const destFileName = path.join(__dirname, "/../../src/const/error-code.js");
const destFileName = path.join(__dirname, "/../src/const/error-code.js");

const download = function(url, dest, cb) {
const file = fs.createWriteStream(dest);
Expand Down

0 comments on commit 846dd3e

Please sign in to comment.