Skip to content

Commit

Permalink
Fix path to data/
Browse files Browse the repository at this point in the history
  • Loading branch information
i-ky committed Jun 14, 2023
1 parent 032bcd8 commit e0239e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Osmalyzer/Analyzers/CommonBrandsAnalyzer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,11 @@ public override void Run(IEnumerable<AnalysisData> datas)
string nsiTagsFileName = @"NSI tags.tsv"; // from https://nsi.guide/?t=brands

if (!File.Exists(nsiTagsFileName))
#if REMOTE_EXECUTION
nsiTagsFileName = @"data/" + nsiTagsFileName;
#else
nsiTagsFileName = @"../../../../data/" + nsiTagsFileName; // "exit" Osmalyzer\bin\Debug\net6.0\ folder and grab it from root data\
#endif

string[] nsiRawTags = File.ReadAllLines(nsiTagsFileName);

Expand Down

0 comments on commit e0239e4

Please sign in to comment.