Clean up npm script
This commit is contained in:
parent
eac51ccbb3
commit
2dfedf4494
2 changed files with 2 additions and 3 deletions
|
@ -16,7 +16,7 @@
|
|||
"*"
|
||||
],
|
||||
"scripts": {
|
||||
"update-grammar": "node ./syntaxes/generateTMLanguage.js",
|
||||
"generate-grammar": "node ./syntaxes/generateTMLanguage.js",
|
||||
"vscode:prepublish": "node ../../node_modules/gulp/bin/gulp.js --gulpfile ../../build/gulpfile.extensions.js compile-extension:search-result ./tsconfig.json"
|
||||
},
|
||||
"contributes": {
|
||||
|
|
|
@ -158,6 +158,5 @@ const tmLanguage = {
|
|||
repository
|
||||
};
|
||||
|
||||
|
||||
require('fs')
|
||||
.writeFileSync('./searchResult.tmLanguage.json', JSON.stringify(tmLanguage, null, 2));
|
||||
.writeFileSync(require('path').join(__dirname, './searchResult.tmLanguage.json'), JSON.stringify(tmLanguage, null, 2));
|
||||
|
|
Loading…
Reference in a new issue