Skip to content

Commit

Permalink
Update projectYear to 2025 (#740)
Browse files Browse the repository at this point in the history
  • Loading branch information
sciencewhiz authored Jan 1, 2025
1 parent 547f695 commit 54325e2
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": true,
"currentLanguage": "cpp",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": true,
"currentLanguage": "cpp",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": true,
"currentLanguage": "cpp",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": true,
"currentLanguage": "cpp",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": true,
"currentLanguage": "cpp",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": false,
"currentLanguage": "java",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": false,
"currentLanguage": "java",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": false,
"currentLanguage": "java",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"enableCppIntellisense": false,
"currentLanguage": "java",
"projectYear": "2025beta",
"projectYear": "2025",
"teamNumber": -1
}
6 changes: 3 additions & 3 deletions vscode-wpilib/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -289,17 +289,17 @@ async function handleAfterTrusted(
continue;
}

if (prefs.getProjectYear() !== '2025beta') {
if (prefs.getProjectYear() !== '2025') {
const importPersistantState = new PersistentFolderState(
'wpilib.2025betapersist',
'wpilib.2025persist',
false,
w.uri.fsPath
);
if (importPersistantState.Value === false) {
const upgradeResult = await vscode.window.showInformationMessage(
i18n(
'message',
'This project is not compatible with this version of the extension. Would you like to import this project into 2025beta?'
'This project is not compatible with this version of the extension. Would you like to import this project into 2025?'
),
{
modal: true,
Expand Down

0 comments on commit 54325e2

Please sign in to comment.