update_manager: node update fix
Use "getboolean" rather than "get" to fetch this option. SIgned-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
fd6d318f0a
commit
0e4e3383e3
|
@ -80,7 +80,7 @@ class AppDeploy(BaseDeploy):
|
|||
self.origin: str = config.get('origin')
|
||||
self.primary_branch = config.get("primary_branch", "master")
|
||||
self.npm_pkg_json: Optional[pathlib.Path] = None
|
||||
if config.get("enable_node_updates", False):
|
||||
if config.getboolean("enable_node_updates", False):
|
||||
self.npm_pkg_json = self.path.joinpath("package-lock.json")
|
||||
self._verify_path(config, 'enable_node_updates', self.npm_pkg_json)
|
||||
self.python_reqs: Optional[pathlib.Path] = None
|
||||
|
|
Loading…
Reference in New Issue