parent
dbcc71dc92
commit
f1adb7e93b
@ -0,0 +1,20 @@
|
||||
import { svnUpdate } from "./svn.js";
|
||||
import { ExternalComponentResource } from "./ExternalComponentResource";
|
||||
import { InternalComponentResource } from "./InternalComponentResource";
|
||||
|
||||
export class ImplementationInternal {
|
||||
public async update(
|
||||
resource: InternalComponentResource | ExternalComponentResource
|
||||
): Promise<void> {
|
||||
if (
|
||||
resource._parentSolutionImplementation._implementationContext &&
|
||||
resource.componentName()
|
||||
) {
|
||||
await svnUpdate(
|
||||
`${
|
||||
resource._parentSolutionImplementation._implementationContext.path
|
||||
}${resource.componentName()}`
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue