Skip to content

Commit

Permalink
Merge pull request #117 from Flarna/patch-1
Browse files Browse the repository at this point in the history
Add leading "lib" prefix for NodeJs extensions
  • Loading branch information
discostu105 authored Jun 28, 2018
2 parents 3dd5d29 + 8a8c28a commit e0c1bae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private string DebugFilePath(string path, string hash) {
}

public static string DebugFileName(string path) {
return $"{Path.GetFileNameWithoutExtension(path)}.dbg";
return $"{(Path.GetExtension(path).Equals(".node") ? "lib" : "")}{Path.GetFileNameWithoutExtension(path)}.dbg";
}
}
}

0 comments on commit e0c1bae

Please sign in to comment.