Skip to content

Commit

Permalink
Fixes for 1.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
BrenekH committed Jan 9, 2019
1 parent ce0ef71 commit c68233e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "kotlin-for-frc",
"displayName": "Kotlin For FRC",
"description": "Kotlin for FRC is an unofficial companion extension to the official WPILib extension which adds support for Kotlin",
"version": "1.1.0",
"version": "1.1.2",
"publisher": "Brenek",
"engines": {
"vscode": "^1.28.0"
Expand Down Expand Up @@ -64,7 +64,7 @@
"vscode": "^1.1.21"
},
"dependencies": {
"@types/rimraf": "^2.0.2"
"rimraf": "^2.0.2"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion src/file_generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export function generatePackage(filePath: any) {
return "frc.robot";
}
var workspace_path = vscode.workspace.workspaceFolders[0].uri.path;
var path_to_main_folder = workspace_path + "/src/main/kotlin/";
var path_to_main_folder = workspace_path + "/src/main/java/";
console.log(path_to_main_folder);
var package_string = filePath.path.replace(path_to_main_folder, "").replace(/\//g, ".");
console.log(package_string);
Expand Down

0 comments on commit c68233e

Please sign in to comment.