NodeBase: avoid null reference exceptions when getting file scope or workspace
1 file changed