Resolve relative Spa Source based on Content Root #40

Closed
opened 2025-08-09 17:14:46 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @pardahlman on 6/9/2018

This PR closes #1678 by evaluating the provided SourcePath and doing the following:

  1. Detect if path is relative and if so make it relative to the content root (with fallback to current directory)
  2. Evaluate if the now absolute path exists and if not, throw a helpful exception
  3. Using the existing, absolute path to start the NpmScriptRunner
*Originally created by @pardahlman on 6/9/2018* This PR closes #1678 by evaluating the provided `SourcePath` and doing the following: 1. Detect if path is relative and if so make it relative to the content root (with fallback to current directory) 2. Evaluate if the now absolute path exists and if not, throw a helpful exception 3. Using the existing, absolute path to start the `NpmScriptRunner`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#40
No description provided.