Skip to content

Commit d98e404

Browse files
committed
Fixes issue with configuration value missmatch
1 parent e985cf5 commit d98e404

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

extension.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ const extensionConfig = vscode.workspace.getConfiguration('lpp');
55
var nrc = require('child_process');
66
function compilePath(path){
77
if(path.endsWith(".lpp")){
8-
var command = `java -jar "${extensionConfig.get("jar-path")}" "${path}"`;
8+
console.log()
9+
var command = `java -jar "${extensionConfig.get("transpiler")}" "${path}"`;
910
nrc.exec(command);
1011
}
1112
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "lpp-pipeline",
33
"displayName": "lpp-pipeline",
44
"description": "Makes using lua++ script easy.",
5-
"version": "0.0.1",
5+
"version": "0.0.2",
66
"engines": {
77
"vscode": "^1.45.0"
88
},

test.lpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
print("hello")

test.lua

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
--[[
2+
Written with Lua++.
3+
Don't remove this notice please
4+
5+
https://github.com/LuaPlusPlus/lua-plus-plus
6+
]]--
7+
print("hello")

0 commit comments

Comments
 (0)