Skip to content

Commit

Permalink
Ignore deprecated_member_use analysis lint (flutter#3400)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanderso authored and Minyewoo committed Jan 12, 2021
1 parent 033b124 commit 3c85d4a
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,11 @@ class PathProviderWindows extends PathProviderPlatform {
GUID knownFolderID = GUID.fromString(folderID);

final hr = SHGetKnownFolderPath(
knownFolderID.addressOf, KF_FLAG_DEFAULT, NULL, pathPtrPtr);
knownFolderID.addressOf, // ignore: deprecated_member_use
KF_FLAG_DEFAULT,
NULL,
pathPtrPtr,
);

if (FAILED(hr)) {
if (hr == E_INVALIDARG || hr == E_FAIL) {
Expand Down

0 comments on commit 3c85d4a

Please sign in to comment.